Continuing the discussion from [APP] Shelly App:
Hello. Will it ever be possible to read the relay status? Shelly 1
Continuing the discussion from [APP] Shelly App:
Hello. Will it ever be possible to read the relay status? Shelly 1
This is and always has been possible. What exactly are you missing?
(I did receive a report by a user that was also missing the onoff capability, not sure how that can happen but re-pairing his Shelly 1 fixed it.)
v1.17.0 - 2020-02-27
- BREAKING CHANGES SHELLY EM: the Shelly EM driver has been refactored to avoid double polling. This breaks the current support for these devices and requires you to re-pair your Shelly EM. Sorry for the inconvenience.
- Also support for the new Shelly 3EM has been added with the release.
Is there any way to to trigger the dimming to fade to the new level over X seconds instead of an instant jump?
No, the Shellies dont support this feature. You can request it as Allterco Robotics to have it added.
{āwifi_staā:{āconnectedā:true,āssidā:āmorepowerā,āipā:ā192.168.2.205ā,ārssiā:-54},ācloudā:{āenabledā:true,āconnectedā:true},āmqttā:{āconnectedā:false},ātimeā:ā10:30ā,āserialā:15970,āhas_updateā:false,āmacā:āDC4F2276D579ā,ārelaysā:[{āisonā:true,āhas_timerā:false,āoverpowerā:false,āovertemperatureā:false,āis_validā:true},{āisonā:false,āhas_timerā:false,āoverpowerā:false,āovertemperatureā:false,āis_validā:true}],āmetersā:[{āpowerā:20.48,āis_validā:true,ātimestampā:1582972236,ācountersā:[20.440, 20.432, 20.427],ātotalā:27883},{āpowerā:0.00,āis_validā:true,ātimestampā:1582972236,ācountersā:[0.000, 0.000, 0.000],ātotalā:0}],āinputsā:[{āinputā:1},{āinputā:0}],ātemperatureā:63.76,āovertemperatureā:false,ātmpā:{ātCā:63.76,ātFā:146.77, āis_validā:ātrueā},āupdateā:{āstatusā:āidleā,āhas_updateā:false,ānew_versionā:ā20200206-083126/v1.5.10@e6a4205eā,āold_versionā:ā20200206-083126/v1.5.10@e6a4205eā},āram_totalā:49520,āram_freeā:34348,āfs_sizeā:233681,āfs_freeā:153863,āvoltageā:241.19,āuptimeā:495449}
And a second one:
{āwifi_staā:{āconnectedā:true,āssidā:āmorepowerā,āipā:ā192.168.2.209ā,ārssiā:-58},ācloudā:{āenabledā:true,āconnectedā:true},āmqttā:{āconnectedā:false},ātimeā:ā10:38ā,āserialā:16400,āhas_updateā:false,āmacā:ā98F4ABF2CB0Eā,ārelaysā:[{āisonā:true,āhas_timerā:false,āoverpowerā:false,āovertemperatureā:false,āis_validā:true},{āisonā:false,āhas_timerā:false,āoverpowerā:false,āovertemperatureā:false,āis_validā:true}],āmetersā:[{āpowerā:38.26,āis_validā:true,ātimestampā:1582972687,ācountersā:[38.237, 38.267, 38.514],ātotalā:69297},{āpowerā:0.00,āis_validā:true,ātimestampā:1582972687,ācountersā:[0.000, 0.000, 0.000],ātotalā:0}],āinputsā:[{āinputā:1},{āinputā:0}],ātemperatureā:73.30,āovertemperatureā:false,ātmpā:{ātCā:73.30,ātFā:163.93, āis_validā:ātrueā},āupdateā:{āstatusā:āidleā,āhas_updateā:false,ānew_versionā:ā20200206-083126/v1.5.10@e6a4205eā,āold_versionā:ā20200206-083126/v1.5.10@e6a4205eā},āram_totalā:49520,āram_freeā:34208,āfs_sizeā:233681,āfs_freeā:153863,āvoltageā:242.04,āuptimeā:495900}
Hello,
first of all thanks for the great working making shelly available for Homey.
Iāve been replacing my fibaro dimmers with shelly dimmers. There just one thing iām missing. In Homey thereās only a trigger for 1 button. While there is input for 2 buttons. Would it be possible to integrate the trigger for the second button?
In the status you can also see both input for both buttons.
What device?
Shelly Dimmer
{āwifi_staā:{āconnectedā:true,āssidā:"",āipā:ā10.0.1.105ā,ārssiā:-55},ācloudā:{āenabledā:true,āconnectedā:true},āmqttā:{āconnectedā:false},ātimeā:ā12:34ā,āserialā:380,āhas_updateā:false,āmacā:ā98F4ABD0E316ā,ālightsā:[{āisonā:false,āmodeā:āwhiteā,ābrightnessā:16}],āmetersā:[{āpowerā:0.00, āis_validā:true, ātimestampā:1582979684,ācountersā:[0.000, 0.000, 0.000],ātotalā:121}],āinputsā:[{āinputā:1},{āinputā:1}],ātmpā:{ātCā:46.32,ātFā:115.37, āis_validā:ātrueā},ācalib_progressā:100,āovertemperatureā:false,āloaderrorā:false,āoverloadā:false,āupdateā:{āstatusā:āidleā,āhas_updateā:false,ānew_versionā:ā20200206-083625/v1.5.10@e6a4205eā,āold_versionā:ā20200206-083625/v1.5.10@e6a4205eā},āram_totalā:48304,āram_freeā:36516,āfs_sizeā:233681,āfs_freeā:133532,āuptimeā:7740}
According to your output there is only one switch. What makes you think there should be two?
There are 2 inputs for 2 physical buttons.
the first āinputā being the left button en the send is the right button.
Ok weird, there is nothing in the API documentation about this and looking at your output there is no way to control this button. So I guess the answer is no way this moment. Perhaps Allterco Robotics will make this available in a future firmware.
as you look at the status iāve uploaded from the dimmer is says āinputsā:[{āinputā:1},{āinputā:1}.
this change to āinputsā:[{āinputā:0},{āinputā:1} when i switch only the left button. and when is also switch the right button down it says: āinputsā:[{āinputā:0},{āinputā:0}
donāt get me wrong, iām not an expert on this but it makes me thinking you can read out the status from both the left and the right input switch. So Homey should be able to read this too and make a trigger for both switches.
Does either of these inputs change when you use the switch on/off action card for the dimmer in a flow?
Hey!
Thanks a bunch for adding support for 3EM. Iām not able to get it working though. What might I be missing?
I created a diagnostics report for the app, ID: c2ace557-85ea-465a-89b3-a3f44247bf2c
Adding the device and it finds it. It adds three devices called Shelly 3EM 1-3. So far so good.
All of them have a red exclamation mark though and no info when clicking in on them. Just says device unavailable.
IP is correct under the advanced settings and Iām not using username/passā¦
Did you restart the app already? I noticed something in the code that might cause this directly after pairing and someone on GitHub confirmed that restarting the app resolved the issue. Iāll fix that in the next release.
The diagnostic report contains nothing since this is not a crash. You could try running the app from the command line to see if that gives more information.
Tried restarting the app and also the entire homey. Running 4.0.0 if that can make any difference.
Have also tried rebooting the 3EM itself.
Have tried removing and re-adding multiple times as well. So Iām out of ideas
Will try to figure out how to run from command line. Never been down there before
Tried adding the device again now and then rebooting the app. Works now!
Thanks, this is great!