Yes, my logging shows nothing
Live Logs will only show messages logged by the DTH. Since the majority of the handling for locally running devices is on the hub it’s normal to not see live logs. The recent event history is visible in graph and if you’re trying to debug something you could temporarily move the device to the cloud by self publishing the DTH and changing the definition in the DTH to
Hello, why do we need to set run local to false?
I thought anything self published cannot run local.
Also, let’s say for dimmer switch. Is the groovy code that is in the SmartThings GitHub for dimmerswitch exactly the same that runs local in the hub? Or do device types that run local written a different way?
Is groovy code that runs in cloud exactly the same as the code that runs local?
Actually how best to do this?
I want to try and start with dimmer switch and see how events work with it with 2 different brand of dimmers.
Can I add SmartThings as a repository in the IDE?
The same as other 3rd party repositories?
That’s correct but the IDE will give you an error if you try to publish it with the value set to true.
You can actually just create a new Device Type Handler and then pick the desired DTH from the
From Example tab, for example
When this all change? When I turned on a switch prior to this it always listed the switch and the action done in Liv Logging.
Okay so all of my iris contact sensors run locally.
None show events in log as you say EXCEPT for one, which is also listed as local.
The one that shows events in logs was one that mysteriously went “unavailable” last morning. I changed battery and re-paired.
But it’s events show in “live logging”
I’ve actually been seeing that for the past few months… quite frustrating when trying to troubleshoot
The general behavior has always been this way for locally running devices. What DTH is the switch using? It’s possible something changed with that DTH that is resulting in the differences you’re observing.
Events are only displayed if the state changes so that might be why you’re not seeing more entries in the event log. If you’re experiencing problems please do contact support so they can help dig into the details.
The Switch is using “Dimmer Switch” and the Lamp is using “SmartPower Dimming Outlet”
Using your instructions I was able to create a new device type “My DImmer”, and then I added lots of debug statements, and then tested to understand how the dimmer switch is working and what is different with 2 different brands of dimmer switches.
The DTHs haven’t been updated since May and June respectively. The
SmartPower Dimming Outlet doesn’t have any logging in the commands (see here). The
Dimmer Switch DTH does have logging in
setLevel (see here) but not in
Thank you, now have to figure out why the Speaker isn’t doing what it should do via WeBCoRE while the other identical one does in same piston when the switch is turned on.
anybody else get updated to 24.11 about 25 minutes ago?
No, only updated 2 minutes ago
Just now for me. I wonder what 24.11 fixed from 24.10?
Just trying to understand what is going on.
It seems that the hub polls the dimmers every so often. Is this correct?
It uses the basic report command
Status polling is around 14 minutes, but if dimmer participates in any smart lighting rules, polling can be more frequent. Is this correct?
If there is a smart lighting rule for dimmer and motion sensor then, every time a motion sensor reports to hub that motion has started, the hub polls the dimmer again for status, can be every minute, or whatever the on/off time of the motion sensor is. It polls the dimmer first to see if it is already on, before it sends the on command. If the dimmer is already on, it does not send an on command, Is this correct?
–What happens when someone turns on the dimmer physically?
It seems that the one new ge zwave plus device that I just purchased will send a multi level report on its own when a paddle is pressed. Using the multi-level report command. This is only when the dimmer has fully ramped up or down, and not while the dimmer is fading up or down.
The non-plus ge zwave dimmers also do this. Are they somehow being polled by the hub? Does the hub know through another mechanism that the paddle was pushed so a lower level in the hub sends a multi-level report get command? This I do not see, but I do see the received multi-level report command being received.
Not sure how??
Hmmm, just got 24.11, and 2 devices are offline 1 GE switch and my August lock. GE switch needs a repair, but now all I get is “Err 115: Could not replace device”. That switch has been rock solid for at least 2 years, until just now.
Going to reboot the hub and try again.
EDIT: Rebooting did the trick.
I have three WeMo switches that have worked perfectly now offline and I can’t get them back.