Odd thing appear in virtual device

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Odd thing appear in virtual device

Post by McMelloW »

I have created a Dummy Hardware a some virtual devices to display the seperated meter readings of the P1 Smart Meter Energy Device. Passing the values the virtual counters a odd thing happens. The left hand is the Solar production Low and the righthand is the solar production High. See picture below

Image

The lefthand device shows two different values, this not correct. The value on top is wrong and is from the righthand device. On the righthand the device the values are correct.
Below the code where the values are passed on to the devices

Code: Select all

        commandArray[3] = {['UpdateDevice'] = idxr1 .. '|0|' .. tostring(EnergyExportLow)}
        commandArray[4] = {['UpdateDevice'] = idxr2 .. '|0|' .. tostring(EnergyExportHigh)}
Is there a simple explanation for this mix up?
Greetings McMelloW
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest