FGS-213

Discussions about existing Z-Wave device and their usage with Z-Way/Z-Cloud/Z-Box
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: FGS-213

Post by PoltoS »

Sorry, W should be in sensors, not in Meters. Please do same for Sensors.
MrM.
Posts: 17
Joined: 23 May 2022 00:35

Re: FGS-213

Post by MrM. »

Here are the pictures of the W view.

I openend the following page for the below screenshots: http://127.0.0.1:8083/expert/#/control/meters

FGS-223, has entities:
Image

FGS-213, has entities :
Image
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: FGS-213

Post by PoltoS »

This is kWh, not W
MrM.
Posts: 17
Joined: 23 May 2022 00:35

Re: FGS-213

Post by MrM. »

Watts were already in post 5.

FGS-223, has entities:
Image

FGS-213, has entity:
Image
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: FGS-213

Post by PoltoS »

Sorry, looks I don't get you... ;( Could we restart again?

What widget are you missing?
Does it have a corresponding value in the Expert UI or it is missing there too?
Why do you expect it to be present?
MrM.
Posts: 17
Joined: 23 May 2022 00:35

Re: FGS-213

Post by MrM. »

There is a bug in the default (non expert) GUI for FGS-213 devices, it does not show the Watts!
In the Expert interface there is a watts entity! This Watts entity is not shown in the default GUI.

Look for the difference between those two devices, in the pictures below. They should be the same, there should be two 11.1 entities.

For a FGS-213, one entity is shown in the default GUI only kWh, Watts is missing, where is the second 11.1 entity?:
Image

The missing Watts data is available in the EXPERT GUI for all FGS-213 devices, but for a strange unknown reason this Watts data not shown in the default GUI:
Image

For a FGS-223, two entities are shown in the default GUI, kWh and Watts:
Image

I think it should be there because
1. Watts are visible for a FGS-213 in the expert GUI.
2. According to Fibaro both devices should have the same capabilities! The FGS-213 is the single switch the FGS-223 is the double switch. On a FGS-223 Watts are shown in the default GUI (non expert), see the above picture.

So it is strange that in default GUI this Watts data is missing. In the software a FGS-213 and a FGS-223 do not show the same, because Watts are missing in the default GUI for all my FGS-213 devices, for FGS-223 devices Watts are always shown.

Please explain me why the available Watts data from the expert GUI for only the FGS-213 devices are not shown in the default GUI?
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: FGS-213

Post by PoltoS »

Now I got you, thanks!

I think this line is guilty: https://github.com/Z-Wave-Me/home-autom ... .json#L789

If you remove it, it will start working as you expect. Maybe both noVDev are to be deleted. If it will work, we can make that fix in the core code or you can make it and contribute in a PR to the develop branch
MrM.
Posts: 17
Joined: 23 May 2022 00:35

Re: FGS-213

Post by MrM. »

Yes! Thank you for your persistence! You pointed to the exact spot.

I changed the lines 787-790, to look like the FGS-223 lines in the same file:
"rename,0-50-0,Total consumption",
"rename,0-50-2,Current consumption",
"noVDev,1-50-0",
"noVDev,1-50-2",

With the above four lines I now have both a Watts and Kwh entity in the default GUI!

I don't know if this is the format needed and if the noVDEV are needed on the other lines.
But probably with my test of the above 4 lines you can make the correct fix now.

Super it works.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: FGS-213

Post by PoltoS »

Isn't it enough to just remove one noVDev? We can't adopt it in the way you propose since after the update the 1-50-2 will disappear for all users and 0-50-2 will appear instead - this will break automation rules for some users. Better to just remove one line to let it create W on channel 1.
MrM.
Posts: 17
Joined: 23 May 2022 00:35

Re: FGS-213

Post by MrM. »

Below are the original relevant lines from the postfix.json file for the FGS-213 device:
"rename,0-50-0,Total consumption",
"noVDev,0-50-2",
"noVDev,0-50-0",
"rename,1-50-2,Current consumption",
"rename,1-50-0,Total consumption",

To get Watts "noVDev,0-50-2", should be changed to: "rename,0-50-2,Current consumption". This is the only way I got it working.

As you see the first action is to "rename,0-50-0,Total consumption" two lines later the action on the same Id is "noVDev,0-50-0".
I think this is not Ok to have two configuration actions on one entity.

If you change delete "noVDev,0-50-0" (line 3), and keep "rename,0-50-0,Total consumption" (line 1) you end up with two kWh entities with the exact same info. This does also does not sound good.

So I think the best solution with minimal impact and maximum compatibility for existing users is:
"noVDev,0-50-0",
"rename,0-50-2,Current consumption",
"rename,1-50-2,Current consumption",
"rename,1-50-0,Total consumption",
Post Reply