I use script for sdm120 meter. Afther update script doesn't update data to devices domoticz.
https://www.domoticz.com/wiki/Eastron_SDM120C
Second problem I use script for energie montoring php script.
Apache Web Server (PHP 8.0)
Don't work anymore afther update 2023.1
Raspberry p3, buster.
Image 2022 backup works all. But lost 1 month data.
SDM120 meter afther update 2023.01
Moderators: leecollings, remb0
- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: SDM120 meter afther update 2023.01
Check the Security settings in m enu Setup - Settings, Tab Security https://www.domoticz.com/wiki/Security
Especially setting trusted networks and the setting "Allow Basic Authentication over plain HTTP"
Especially setting trusted networks and the setting "Allow Basic Authentication over plain HTTP"
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 37
- Joined: Saturday 01 July 2017 12:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: SDM120 meter afther update 2023.01
Security settings didn't solved the problem
Boths scripts are running by crontab. Could this be an issue?
I
Boths scripts are running by crontab. Could this be an issue?
I
- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: SDM120 meter afther update 2023.01
Cron is not the problem
Try to run the update part of the script manually to see what fails.
If it gives back unauthorized then you have to update your security settings.
Try to run the update part of the script manually to see what fails.
Code: Select all
curl -s {$SERVER"/json.htm?type=command¶m=udevice&idx="$IDX"&nvalue=0&svalue="$POWER";"$TOTAL""}
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 37
- Joined: Saturday 01 July 2017 12:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: SDM120 meter afther update 2023.01
I change three items afther trial and error.
First I removed password devices then php script worked.
Then I added local server to server without password in safety panel and change localhost:port in script in fully server adress.
Meters devices solar panels update with data.
Thanks for the lead. Hopely others with this problem can solve this also.
Regards Gerard
First I removed password devices then php script worked.
Then I added local server to server without password in safety panel and change localhost:port in script in fully server adress.
Meters devices solar panels update with data.
Thanks for the lead. Hopely others with this problem can solve this also.
Regards Gerard
Who is online
Users browsing this forum: No registered users and 1 guest