logo elektroda
logo elektroda
X
logo elektroda

ESP8266: Sending data from DS18B20 sensor to Domoticz - communication error

grhmagnus 1107 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20259804
    grhmagnus
    Level 3  
    Hello,
    Code as in the example - reads temperature beautifully, sends to serial, but Domoticz does not accept it.
    When I type the generated json into the browser it is ok, it does not respond to ESP.
    Where am I making a mistake ?


    Code: Arduino
    Log in, to see the code
    .
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 20259867
    DJ_KLIMA
    Level 24  
    Is the host responding?
    Print yourself the whole url variable what is sent, see if such a line will work from the browser.
  • ADVERTISEMENT
  • #3 20259876
    grhmagnus
    Level 3  
    From the browser (with my finger) it works, I can see ESP in the router, but Domoticz does not accept it. I can't read what the ESP is actually sending :( .
  • ADVERTISEMENT
  • #4 20266601
    Slawek K.
    Level 35  
    Try this :

    Code: C / C++
    Log in, to see the code
    .
    I assume you are inserting the correct data in place of xxx ?
  • #5 20332639
    grhmagnus
    Level 3  
    Thank you for your help, I have put the ESP away for now and have done on the Mega.
ADVERTISEMENT