error in creating units

Python and python framework

Moderator: leecollings

Post Reply
JanJaap
Posts: 215
Joined: Thursday 12 October 2017 20:46
Target OS: Raspberry Pi / ODroid
Domoticz version: Dev
Location: the Netherlands
Contact:

error in creating units

Post by JanJaap »

Hi since a couple of days, I think there is an issue in creating new units in a device in the extended framework. I'm curious if other people have the same issue or something is corrupt on my side.

What happens is that the DomoticzEx.Unit().Create() method executes successful (no error reported) and there is an entry in the DeviceStatus table. However, the ID column (first column) is not filled:

Code: Select all

|20|54200DSN196R0358|14|Inverter input 1 power (SN: 54200DSN196R0358)||243|29|0||12|255|0|  0.0;      0.00||||||||||||||
|20|54200DSN196R0358|7|Inverter input 2 voltage (SN: 54200DSN196R0358)||243|8|0||12|255|0|0V||||||||||||||
|20|54200DSN196R0358|8|Inverter input 2 Current (SN: 54200DSN196R0358)||243|23|0||12|255|0|0A||||||||||||||
|20|54200DSN196R0358|15|Inverter input 2 power (SN: 54200DSN196R0358)||243|29|0||12|255|0|  0.0;      0.00||||||||||||||
This than leads to errors when trying to update. Also, the devices are not shown on the devices tab in Domoticz.

Running (now) on build 15697, started a couple of days back (not sure which build but it should be a relatively new one as I update regularly). Running RPi 3B on BullsEye.

You can reproduce it by creating a small plugin that adds 1 unit to a device, for example with this plugin
RPi 3, Domoticz dev version, Aeon ZWave stick (with a whole bunch of slaves), Zigbee using Zigbee2MQTT, Nest thermo, P1 smart meter on RPi Zero
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest