I'm running HS4 and the &nhs.WriteLog command in post #6 works for me.
Announcement
Collapse
No announcement yet.
How to log less frequently
Collapse
X
-
This is getting embarrassing. I change the line, still nothing in the log. I run a HS4 on a Raspberry Pi. I saw that you used a dot (.) in the command, I assumed it should be a comma. Anyway, i tried both and with semicolon to be sure. I still only get Z-wave events in the log...
Thank you for your help
Whitenoise
Comment
-
Ok, I did get it to work, and yes it is very embarrassing. I had a Z-wave filter on in the log....
I now get the values, but without the decimals, with this command:
&nhs.WriteLog("AnyText", "Device value is " & hs.DeviceValue(163).ToString())
Any idea how to log the value with decimals?
Cheers
Whitenoise
Comment
-
Originally posted by Whitenoise View PostI now get the values, but without the decimals, with this command:
&nhs.WriteLog("AnyText", "Device value is " & hs.DeviceValue(163).ToString())
Any idea how to log the value with decimals?
&nhs.WriteLog("AnyText", "Device value is " & hs.DeviceValueEx(163).ToString())
Mike____________________________________________________________ __________________
HS3 Pro Edition 3.0.0.548, NUC i3
HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti
Comment
-
Originally posted by Whitenoise View PostAfter reinstalling my HS, I get the same issue. I just cant get it to log:
If I run this, all that comes into the log is this:
I also tried with just some random text instead of the devicevalue. My log settings are:
Any Ideas?
Cheers
Whitenoise
HS4 Pro, 4.2.18.9 Windows 10 pro, Supermicro LP Xeon
- Likes 1
Comment
Comment