Open PaulOckenden opened 6 years ago
Sorry - this was my fault. I'd enabled basic auth on my Domoticz instance thinking only about the website - I'd completely overlooked that it would affect the API posting the data too! What a Muppet!
So I simply embedded my username and password into:
DOMOTICZ_URL="http://username:password@xx.xx.xx.xx:pppp"
Hopefully that'll help anyone else who arrives here to report the same problem!
The script ran well for a few days, but around 9am this morning it stopped. When I run the script manually the Curl sees an anauthorized message from the Smappee. I see there's some code in the script that's supposed to deal with that - I haven’t changed it. I also haven’t changed the password from the default.
Tried rebooting the Smappee but that didn’t work. I wonder whether they've pushed a firmware change that locks down the local api? Has anyone else seen this problem?