#My fridge I have even used the ice
1 messages Β· Page 1 of 1 (latest)
Hi deadhoused, can you show the configuration of that zen15 device? especially, according to the documentation (https://www.support.getzooz.com/kb/article/616-zen15-power-switch-ver-1-06-advanced-settings/) of that device it has a parameter 172, called 'Energy Report Frequence' that when set to 0 disables the device from sending energy reports to the controller (HA). Don't set it to low, as sending updates very frequently can overload your z-wave mesh. I suggest setting it to something representing like 5 minutes or so, i.e. 300 seconds. This will make the device send out an update of the energy used every 5 minutes. i.e. you'll get an update of the energy used every 5 minutes. Getting a periodic report is usually fine for energy readings, but if you're interested in instantaneous measurements like Current (A), Voltage (V) and Power (W), you'll often want to receive those values whenever it changes, not periodically. So your ZEN15 has different configuration parameters for that too: 151: Power Wattage Report Value Threshold and 152: Power Report Percentage Threshold. You may want to set 151 to somewhat less than the default 50, depending on the device you attach, but again, don't set it to low, as there may be small variations during the running of the attached device and these could then many reports, again overloading your z-wave mesh network. My fridge draws arond 45 Watts when active, i.e. that will not trigger a Power report from this device when defaults are active. I suggest you set 151 to 5 or so. Then there's still parameter 152, that seems to be an alternative method of determining when to trigger a Power report. I don't know exactly how to use this, but if you still don't get any reports after changing the both other parameters, try lowering this parameter a little to see if that helps. Default is 10%, so you could try 5% to see if that works.
So I set them really low to see if it would do anything. Currently itβs the only a-wave device I have on the network
I'm on a slippery slope here, because I set my z-wave up some months ago (and mostly forgot how I did it), and after that I learned that the way I did it may not have been the preferred way, but at the same time I could not get definite information on how I should have done it either. But for me it works and all other methods I tried didn't. Seeing that you recently installed it, you probably remember which components you used/what instructions you followed?
I've got Z-Wave JS UI installed, and from the Z-Wave JS Web UI page (or the tab on the left side) I can get into an interface that shows all z-wave devices and lets me control them directly. Do you have Z-Wave JS UI installed too?
I have the z-wave js installed but not the ui
I'm installing it now
And thank you for the help. I really do appreciate it
If you do, you can go in there and see what the values in your device are. Follow my pictures to find & open the device you want to look at. (Click the device in the control panel to 'expand' it, the find the Meter Values section. Expand that with the down triangle)
Be careful Z-Wave JS UI can also implement a z-wave JS server. If yours is already working, configure Z-Wave JS UI to NOT use it's own Z-Wave JS server. This is where things went strange for me: I never got exactly clear which it is that I'm using right now. I only know that I could get one to connect to the usb port, and the other I couldn't. Be carefull you don't break your setup because of my instructions....
Yea I must have done something wrong. I am not seeing the device in the JS UI
hmm, that could also mean that z-wave js ui isn't working properly.
Could you have a look at the log in the add-on page?
Do you see nay messages in there confirming that js ui can communicate with z-wave js?
ok, so there is a problem communicatin g with z-wave JS
sorry, z-wave js has an issue connecting to the z-wave stick.
Wonder if I should start from scratch since I only have one device. Just uninstall all the z-wave and stat with the ui first
nah, don't just yet. Let's first see if we can find what's wrong. What z-stick do you have?
Zooz 800 Series Z-Wave Long Range S2 USB Stick ZST39 LR
ah, that's funny. I was thinking of buying that one too monday. But this is totally irrellevant for us now π
Haha I figured since it was the newest that either It would work great or it would give me a ton of problems lol
This is what is showing in the UI
Same here. I'm on z-stick gen5 and having some interference issues lately, so figured that new stick could help but was a bit afraid because I could not find much items saying that it worked ok.
That /dev/ttyUSB01, did it auto detect that or did you enter that?
I selected it
Mine is on /dev/ttyACM0. Is that in your list to select too?
Yes
Can you give that a try?
Ah, that I do know. This is the issue I was trying to alert you for. You've now got 2 Z-wave JS servers active. Seems the other is keeping the z-stick locked.
But how to fix it... In the #zwave-archived channel they will most likely be able to tell you this in a few seconds (or point you to the correct topic). I'm scrolling through the screens to see if I can find what to ask you for...
If you go into the settings of z-wave js UI, in the Home Assistant section, do you have WS Server enabled or not?
ok, so at least you've got the same settings here that I do. And I'm pretty sure that serial port must be /dev/ttyACM0 for that zooz stick also. At least the fact that is locked now makes me think we're on the right path. Now lets see if I can find how to disable the other JS. Can you first see of a reboot of the HA machine frees up the port?
I'll give it a try
Do you remember which instructions you followed to setup z-wave initially? That could lead us to where to find how to disable the alternate webserver JS.
Unfortunately I do not
ah, I found something. In Add-ons, do you have Z-Wave JS installed? If so, you could try removing that. I do not have it installed.
(and you would probably have to reboot again after the uninstall, sorry)
I do. I will try removing it
b.t.w. in z-wave. The devices are included with the stick, not with the controller. So even if you initially included your device via the other z-wave js, it will still be available in this z-wave js. This is also why i said to hold off from a re-install of z-wave components in HA; it most likely will not solve any inclusion issues.
ah, you've found it π
Now go to Configuration v1..
and click 'Refresh jsut to be sure we've got the current settings
Wait for the green confirmation in the top right to show that communication has completed
Every time you send any command to the z-stick, Z-wave JS UI will show teh results in pop-up in the top right. First to confirm the command was sent, then after some time to show the result.
Got ya
so after you clicked the refresh in the COnfiguration v1 section, did you get a successful pop-up?
Yes
ok. So now the values shown are exactly those as they are in your device. Let's look at the configuration itself.
The both power Report parameters are both set to 0 for disabled. You can enter a value, then click the arrow next to it to update that configuration parameter in the device (and check for the pop-up to see the result).
Ok. I set them to 1 just for testing
be careful there. 1 is very low. Your mesh is not very big yet, so it can have lot. But if you've got more devices (I've got 90) the mesh can easily be overloaded and your devices go unresponsive for a few minutes.
Ok. I will bump them up
I would set 151 to 5 to start with (the device will send a report out if the Watt value changes with at least 5 Watt). The percentage I do not know exactly: I don't know what 100% is, so I can't give you much information on what to set it to. Maybe you can see if you can find that info yourself for this ZEN15 device)
Do see any changes yet in the meter values? Maybe you need to press the 'refresh' in the Meter box before it changes, but I think it updates automatically too...
Not yet. But I am not home to run the ice maker and the compressor may not be running. Could be why the consumption is so low
It's a good thing that it's not 0.00kWh anymore. At least some usage has been detected.
Now I just need to figure out how to add sources to the energy monitor tab lol. I have a whole home monitor showing up tomorrow
That Electric Consumption [kWh] entity will show up for you to include in the Energy dashboard. This will be continuously increasing. The energy dashboard will read a specific range from the statistics for that entity, so you don't need to do anything like setting up a utility meter resetting each day or such.
Do you have energy metering for your whole house already? maybe from your solar integration or a smart meter reader?
Wow, that's a lot of metering π What communication does that use?
ok, nice one. I'm not a big fan of wifi devices, but this IS a massive device π
Same. I wanted to go with the sense brand but was out of the alloted budget my wife gave me lol
At minimum you need one CT on the main input, plus one on the solar panels. next ones you can add on any individiual consumer groups you have. Given that you know the production from solar, plsu how much came in from and went out to the grid you can know your whole-house usage. Then the other 14 ct's can be used to find consumption per group.
nice setup...
That's the plan. Really interested to see how much my shop uses between A/C and I have a few laser machines and a cnc router lol
Thank you so mch for your help
much*
ah, yes, that's gonna give some nice diagrams... π
This is what I'm doing currently:
To the left are the 'inputs': solar + grid power @ night tarif + grid power @ day tarif. 2nd level is total energy flowing throughout the period. 3rd level is Total energy used + energy output to the grid @ day & night tarif. Next level is total usage per area + remaining (= unmetered devices) and the right most level is the energy usage per metered device
It is a custom card from HACS called Sankey Chart Card
I'm still experimenting with it. Seeing what works best and what gives me best insights.
I think this cartds is cool most of all because it works with the energy dashboard's period controls in the top: you can dynamically select to see the totlas per day, week, month or even year.
I still have so much to learn with HA. Especially with writing yaml lol
I was nervous to even ask for help here because my knowledge is so little with all of this
yeah, so do i. I came from Domoticz and was used to writing lua scripts. That was fun. yaml not so much :-(.
When you're ready for it, just send me a message and I'll show you what I've got to start from.
With yaml?
ha, that too. but I've got a huge to learn there too. No, what I meant was the energy distribution card.
Oh. Yea. That would be great
on yaml, will be mostly a similar session as this one: "try this" and "try that" π
Sometimes that's the best way lol
yeah. Going down to my wife now. She's been waiting for me. See you later!