My version is still working fine on 2024.4
https://github.com/simat-git/SDM120-Modbus
Easy to adapt to any modbus meter if you know the register numbers.
Search found 31 matches
- Tuesday 14 May 2024 9:43
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
- Tuesday 14 May 2024 9:35
- Forum: Temperature and Weather
- Topic: DS18B20 temperature sensore calibration
- Replies: 11
- Views: 2729
Re: DS18B20 temperature sensore calibration
Or maybe the DS18B20's are fake, there are loads of non genuine ones on Aliexpress.
https://github.com/cpetrich/counterfeit_DS18B20
https://github.com/cpetrich/counterfeit_DS18B20
- Wednesday 16 August 2023 9:55
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: ESP Easy: Failed HTTP code: 401 after upgrade to beta
- Replies: 7
- Views: 2239
Re: ESP Easy: Failed HTTP code: 401 after upgrade to beta
I've only just had to use "Use Extended Credentials and API Protection both Enabled" after upgrading from 2023.1 to 2023.2 Stable.
Trusted networks had localhost and wildcard for local subnet.
127.0.0.1;10.0.32.*
ESPEasy was - ESP_Easy_mega_20230623_normal_ESP32_4M316k Jun 23 2023
Trusted networks had localhost and wildcard for local subnet.
127.0.0.1;10.0.32.*
ESPEasy was - ESP_Easy_mega_20230623_normal_ESP32_4M316k Jun 23 2023
- Tuesday 15 August 2023 9:44
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
Like this ?
Its type 243 - Domoticz.Device(Name="Import Wh", Unit=2,Type=243,Subtype=29,Used=0).Create()
Its type 243 - Domoticz.Device(Name="Import Wh", Unit=2,Type=243,Subtype=29,Used=0).Create()
- Tuesday 15 August 2023 9:33
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
In my plugin, its the line Devices[2].Update(0,str(Total_System_Power)+";"+str(Import_Wh*1000)) That puts 2 values to display, the kWh and the current Watts load. Total_kWh = self.rs485.read_float(342, 4, 2) is only going to pull out the kWh reading and not the current load. Sorry i didn't have time ...
- Monday 14 August 2023 11:44
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
@Pieter, did you get your SDM630 working ?
- Thursday 06 July 2023 9:40
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
What about using something like ESPEasy to post straight into Domoticz and btw, the plugin I published had been updated to handle the parallel running of multiple scripts in the later versions of Domoticz to avoid comms problems. Although if you only have one Modbus device you'll have no problems as ...
- Wednesday 05 July 2023 19:06
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
Yes, 2021.1 was the last working version. I had the above issues too and although I looked into it to try and find out why this was happening, I just decided to run a 2021.1 version of Domoticz. In my case this is possible because I run this plugin on a dedicated remote server. It doesn't influence ...
- Wednesday 05 July 2023 19:05
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
Is your inverter Modbus RTU or Modbus TCP ? Someone suggested that the Deye Inverter is the same as Sol-Ark ? Either way the Modbus RTU/ASCI/TCP plugin mentioned in this thread should do the trick without modification, you just need to know the modbus slave ID, register address and data type for ...
- Sunday 07 May 2023 9:57
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
Is your inverter Modbus RTU or Modbus TCP ? Someone suggested that the Deye Inverter is the same as Sol-Ark ? https://diysolarforum.com/threads/sol-ark-inverter-monitoring.23717/ Either way the Modbus RTU/ASCI/TCP plugin mentioned in this thread should do the trick without modification, you just ...
- Thursday 04 May 2023 11:18
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz downgrade from 2023.1 to 2022.2
- Replies: 31
- Views: 4813
Re: Domoticz downgrade from 2023.1 to 2022.2
I deemed it quite safe as I checked the DB schema between 2021.1 and 2023.1 and only minor changes had occured, all of which had no effect on my install. The only big one is EnOceanSensors looks like it got migrate to EnOceanNodes. The other tables effected were Camera with an extra field ...
- Monday 01 May 2023 19:24
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz downgrade from 2023.1 to 2022.2
- Replies: 31
- Views: 4813
Re: Domoticz downgrade from 2023.1 to 2022.2
So did you do the following ? git clone -b 2022.2 https://github.com/domoticz/domoticz dev-domoticz cd dev-demoticz cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt make - this should take over 1.5 hours After which there will be a domoticz binary in this directory. Then may be mv the existing ...
- Sunday 30 April 2023 21:33
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz downgrade from 2023.1 to 2022.2
- Replies: 31
- Views: 4813
Re: Domoticz downgrade from 2023.1 to 2022.2
That because you have to compile it. This creates the Domoticz executable on your platform.
Follow the instructions at https://www.domoticz.com/wiki/Build_Dom ... rom_source
Follow the instructions at https://www.domoticz.com/wiki/Build_Dom ... rom_source
- Sunday 30 April 2023 13:46
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz downgrade from 2023.1 to 2022.2
- Replies: 31
- Views: 4813
Re: Domoticz downgrade from 2023.1 to 2022.2
https://github.com/domoticz/domoticz/releases
you have to download the sources - i don't know of a way to git clone from releases.
So git clone - the latest build and then extract the content of the download over the top.
you have to download the sources - i don't know of a way to git clone from releases.
So git clone - the latest build and then extract the content of the download over the top.
- Sunday 30 April 2023 13:35
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
Regarding the missing module pymodbus.client.sync when using this plugin on Bullseye with Python > 3.7 (3.9.2 in my case )and Domoticz 2023.1 - just edit the plugin.py and change pymodbus.client.sync to pymodbus.client from pymodbus.client import ModbusSerialClient # RTU from pymodbus.client import ...
- Monday 24 April 2023 21:11
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 143960
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
Updated and tested plugin now available on https://github.com/simat-git/SDM120-Modbus Works with Domoticz 2023.1, now just takes a few minutes to initially allocate each instance to its own timeslot, will also recover from bus disconnection and re-time itself. The previous plugin would error until ...
- Monday 24 April 2023 21:03
- Forum: Python
- Topic: Serial port open detection
- Replies: 6
- Views: 1113
Re: Serial port open detection
Updated and tested plugin now available on https://github.com/simat-git/SDM120-Modbus Works with Domoticz 2023.1, now just takes a few minutes to initially allocate each instance to its own timeslot, will also recover from bus disconnection and re-time itself. The previous plugin would error until ...
- Sunday 23 April 2023 10:48
- Forum: Python
- Topic: Serial port open detection
- Replies: 6
- Views: 1113
Re: Serial port open detection
Domoticz.Heartbeat(1) - do next Heartbeat in 1 second
after sucessfull read then do Domoticz.Heartbeat(10) to put the next Heartbeat back to every 10 seconds.
after sucessfull read then do Domoticz.Heartbeat(10) to put the next Heartbeat back to every 10 seconds.
- Sunday 23 April 2023 10:10
- Forum: Python
- Topic: Serial port open detection
- Replies: 6
- Views: 1113
Re: Serial port open detection
Many thanks for the replies, self.rs485.serial.exclusive = True This helped alot, the problem I now have is the self.runInterval, if we get an exception we set self.runInterval = 1 so the plugin gets called again in the next heartbeat (10 seconds) to try again, this works for about 5 plugsin ...
- Thursday 20 April 2023 21:13
- Forum: Python
- Topic: Serial port open detection
- Replies: 6
- Views: 1113
Serial port open detection
Hi all, I'm just gonna throw this out there and see what happens. I'm trying to fix a long term ongoing issue with the RS485 Modbus RTU plugin that uses minimalmodbus https://www.domoticz.com/forum/viewtopic.php?t=21297 . In Domoticz 2023.1 the plugsin are loaded very fast one after another and ...