AlbertHakvoort / Melcloud2Domoticz

Tool for extracting data from Melcloud to Domoticz (Air/Water unit)
5 stars 1 forks source link

Problems with no temperature updates in Domoticz #1

Closed miljume closed 7 years ago

miljume commented 7 years ago

Hello,

I have troubles getting the script to run, I have checked my login details but it seems like I am unauthorized in some way

Please see the script output below

root@raspberrypi:/var/bin/melcloud# /var/bin/melcloud/melcloud2domoticz.sh Melcloud to Domoticz tool version 0.9 json: error: input is not JSON: Unexpected '<' at line 1, column 1:

Unauthorized

401 Unauthorized

    ^

No power changes Update Power status to On

Unauthorized

401 Unauthorized

Update Outdoor Temp Unauthorized

401 Unauthorized

Update Room Temp Unauthorized

401 Unauthorized

Update Heatflow Temp Unauthorized

401 Unauthorized

Operation mode is json: error: input is not JSON: Unexpected '<' at line 1, column 1: Unauthorized

401 Unauthorized

^ Update SWW Temp Unauthorized

401 Unauthorized

Update SWW Setpoint Unauthorized

401 Unauthorized

Update Operation Modus to SWW Unauthorized

401 Unauthorized

Update Operation Mode to On Unauthorized

401 Unauthorized

Update Error Status Unauthorized

401 Unauthorized

json: error: input is not JSON: Unexpected '<' at line 1, column 1: Unauthorized

401 Unauthorized

^ No Temp changes are send to Melcloud **UPDATE: My fault, Domoticz login was turned on!**
miljume commented 7 years ago

I correct myself, the reson was the Domoticz login which I forgot about so the script now runs without problems!

Although no temperatures are updated in Domoticz

AlbertHakvoort commented 7 years ago

When you run the script in a console, do you get any messages?