I got some temp/hum sensors type LYWSD03MMC. So I found a script (https://github.com/JsBergbau/MiTemperature2) to poll them and another to pass the values to Domoticz's virtual device. The script to pass the values is this:
The problem is that it doesn't update anything on Domoticz. The JSON URL does the job well manually but in the script, it doesn't. Can you suggest what is wrong here?
glory50 wrote: Tuesday 07 July 2020 14:54
The problem is that it doesn't update anything on Domoticz. The JSON URL does the job well manually but in the script, it doesn't. Can you suggest what is wrong here?
Maybe you forgot to include the port number ?
Try changing
My domoticz runs on 80/443 but the URL http:// itself turns to the port 80. Yes, I tried also to add the port ":80" to the end of the IP-address without no luck. Something else must be wrong here.
glory50 wrote: Tuesday 07 July 2020 17:41
My domoticz runs on 80/443 but the URL http:// itself turns to the port 80. Yes, I tried also to add the port ":80" to the end of the IP-address without no luck. Something else must be wrong here.