Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
Pavel LarkinP

Pavel Larkin

@Pavel Larkin
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • switch is not working when gateway is unavailable
    Pavel LarkinP Pavel Larkin

    Hello!

    Could you point me to - how to deal with situation, when Gateway goes down (raspberry pi which does a lot of stuff..) - and the sensor is left by himself alone?

    If the Nano, which acts like sensor (light switch) is restarted when Gateway is down - i can't operate my sensor. It just tells me:

    865584 !TSM:FPAR:NO REPLY
    865586 TSM:FPAR
    865623 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    867630 !TSM:FPAR:FAIL
    867632 TSM:FAIL:CNT=7
    867634 TSM:FAIL:PDT
    927637 TSM:FAIL:RE-INIT
    927639 TSM:INIT
    927646 TSM:INIT:TSP OK
    927648 TSF:SID:OK,ID=3
    927650 TSM:FPAR
    927687 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    929695 !TSM:FPAR:NO REPLY
    929697 TSM:FPAR
    929734 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    931741 !TSM:FPAR:NO REPLY
    931743 TSM:FPAR
    931780 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    933787 !TSM:FPAR:NO REPLY
    933789 TSM:FPAR
    933826 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    935833 !TSM:FPAR:FAIL
    935835 TSM:FAIL:CNT=7
    935837 TSM:FAIL:PDT
    

    Do i need to post the code? It's quite simple, beside all the preparation - here is how i switch lights On/Off:

         Serial.println("LED is on");
         digitalWrite(RELAY_PIN4, !digitalRead(RELAY_PIN4));
         #undef CHILD_ID
         #define CHILD_ID 4
          MyMessage msg(CHILD_ID,V_STATUS);
          send(msg.set(digitalRead(RELAY_PIN4)));
          saveState(CHILD_ID, state);
    

    To wrap it up - how should i program the sensor, so in case of gateway's outage, the system still would be functioning?

    Thankyou! :)

    Hardware

  • ENC28J60 Ethernet gateway problem with Domoticz?
    Pavel LarkinP Pavel Larkin

    Same problem here.

    Sketch uses 25750 bytes (83%) of program storage space. Maximum is 30720 bytes.
    Global variables use 1292 bytes (63%) of dynamic memory, leaving 756 bytes for local variables. Maximum is 2048 bytes.
    Invalid version found: 1.04
    Invalid version found: 1.04

    Nano v3 + ENC28J60 Ethernet module + NRF24L01+

    Just an advice - where to dig? Is it hardware version which differs?

    Thank you!

    Troubleshooting

  • 💬 Air Humidity Sensor - DHT
    Pavel LarkinP Pavel Larkin

    Hello. Maybe someone could help :) hopefully..
    I have arduino1 with 1 DHT22, which is over arduinoGW connected to RSPi with latest domoticz.
    when i connect stuff up, after some time i see some strange childids, not related to this arduino1 in no way.
    Lots of unknown!, with V_TEMP values, with V_HUM values, even V_FORECAST, V_PRESSURE and etc. which arduino1 should not send (or no other arduino on my area).

    Illustration:
    <img href="http://www.lstudio.lt/wp-content/uploads/dht22problem.png">
    http://www.lstudio.lt/wp-content/uploads/dht22problem.png

    my code is quite simple (for ex only temperature is shown)

    #define CHILD_DESCR "TEMP3"
    #undef CHILD_ID
    #define CHILD_ID 31
    present(CHILD_ID, S_TEMP, CHILD_DESCR);
    delay(250) ;
    
    loop:
    
      temp3=dht3.readTemperature();
    
    if (temp3 >= 120) {temp3 = lasttemp3;}
    if (temp3 <= -50) {temp3 = lasttemp3;}
    MyMessage msg31(CHILD_ID,V_TEMP);
    send(msg31.set(temp3,1));
    

    so.. that is basically all

    Announcements
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular