jghaanstra / cloud.shelly

Homey app to control Shelly Cloud devices
GNU General Public License v3.0
21 stars 14 forks source link

Shelly plus 1 with Add-on #197

Closed GD91a closed 11 months ago

GD91a commented 11 months ago

I'm trying to use a Shelly plus 1 with add-on.

At the begining, I pair this global device (shelly + add-on) and the Input 1 was not working ... So, I factory reset the Shelly, then I pair the Shelly alone (without the add-on) and the Input 1 was working. In a second step, I add the add-on on the Shelly and the Input 1 was still working.

Also, I can see the external input 2. This input match the digital input of the add-on and it is working. Also, I can see the external input 1. This input match the analog input of the add-on. And there is an issue.

This input is working on the Shelly app : image But on the HOMEY, it is seen as a boolean and not as a numeric : image image

I wonder what is going wrong ...

With kind regards

GD91a commented 11 months ago

I'm really disapointeed ! I believed I have fixed the Input 1 issue ... After a few changes in the parameters of the device, Input 1 dosn't work anymore ... Even after having reboot the device, start again te Shelly HOMEY app, deleted the device in HOMEY and pair it again ....

Good side : I can now read the temperatures given by the DS18B20 ...

I do not understand how and when the changes in the parameters of the device (in Shelly app on the phone) are taken into account by HOMEY ... Sometimes, it seems really strange ...

External input 1 is still here ...

With kind regards

jghaanstra commented 11 months ago

Post the output of http://yourshellyip/rpc/Shelly.GetStatus here and send a diagnostic report from the app settings.

And read this to know more on how the input 1 works: https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Input#status

GD91a commented 11 months ago

I'm not able to access yourshellyip ?? The diagnostic report : 98e86c5c-5e50-48cc-a13b-9adbdc771136

GD91a commented 11 months ago

I haven't understood I had to replace youshellyip by actual ip of the device ... Nevertheless, I can't access the link you said , I got ': {"code":404,"message":"No handler for Shelly.Status"}

I was able to get the following file, I guess it is what you need : diagnostics-shelly-plus1-data.txt

jghaanstra commented 11 months ago

According to your report the following devices are connected:

If this doesnt match with the actual physical connected sensors you should clean that up. Better use the WebUI of the device to do so (http://yourshellyip/).

The external voltmeter isnt supported by the Homey app yet, I'll add that with the next release.

And it seems you deleted (and possibly re-added sensors) after having paired the device with Homey. This seems to be out of sync as that shows a second external sensor which isnt shown in the currently connected sensors in your report. So first clean up the sensors from the WebUI, then make sure you connect all the sensors you want, then remove and re-pair the device in Homey to make sure all connected sensors are added in Homey as well.

And as mentioned, the state of input 1 will change based on the settings, see the link I posted earlier.

GD91a commented 11 months ago

Thank you for this quick answer … Regards

De : Jelger Haanstra @.> Envoyé : dimanche 8 octobre 2023 19:21 À : jghaanstra/cloud.shelly @.> Cc : GD91a @.>; Author @.> Objet : Re: [jghaanstra/cloud.shelly] Shelly plus 1 with Add-on (Issue #197)

According to your report the following devices are connected:

jghaanstra commented 11 months ago

Voltmeter sensors are added with release 3.21.6. Please test using the described steps above for syncing the external sensors with the capabilities under the Homey device.

GD91a commented 11 months ago

Thank you very much to be so reactive ! It's now working perfectly well Kind regards