Here’s the relevant part:
Ok. But that feature is only for the current beta 1.4 right?
That is correct. Nice to see them moving in the right direction.
Is there a new firmware available?
My devices are still running version 20181031-101144/v1.3.5@62608979
I can’t upgrade the firmware on the device I have Shelly 1 and it won’t really connect to the cloud
The current Firmware version of your Shelly device is 20180903-123604/v1.1.3@67ef4071 No newer firmware available.
Uploading: Screenshot_2018-12-08-12-33-25-675_com.android.chrome.png… yellow all the time.i use the Webinterface and in the app it doesn’t work neither
edit: works after added DNS manually maybe it’s a Router Thing Here as I have a strange setup.
But the docs on Shelly are wrong … state and command doesn’t exist …have to add the switch in another way
Firmware 1.4.1 is out with calibration and positioning between 0 and 100%.
Anyone got it running in Home Assistant with positioning and MQTT?
I’ve managed it:
cover:
- platform: mqtt
name: "Rolladen Balkon"
state_topic: "shellies/shellyswitch-id/roller/0" # Returns open,close while in motion, stop when not moving
command_topic: "shellies/shellyswitch-id/roller/0/command" # Accepts open, close, stop
position_topic: "shellies/shellyswitch-id/roller/0/pos"
set_position_topic: "shellies/shellyswitch-id/roller/0/command/pos"
payload_open: "open"
payload_close: "close"
payload_stop: "stop"
state_open: "open"
state_closed: "close"
retain: true
optimistic: false
qos: 2
Well done!
So, to set half way you just publish 50 to set_position_topic?
Correct. Calibration works trough the Shelly WebInterface but there is also an mqtt message available for that. Works really great.
I had tested it last monday and can confirm. Do the calibration with the app and it works really great
Now a Shelly that I installed (with some phisical difficulties inside an electric box, behind a power socket) is offline in the app.
It worked for months, now simply is offline without any (apparent) reason … this is not good: dismounting a socket every time you need to fix it …
Try with the app to add the device again. You can also do a hard reset without have to open the box
Please can you clarify what you mean by this and how to implement it?
I don’t know how to do both operations (if its offline you can’t do a factory reset from the app, and when I click add devices doe not find any). Will investigate the how to
You can see in my code in my post above.
I mean the calibration for roller shutter from 0-100%. I just did it trough the web interface of the shelly. But you can also trigger the caliration trough mqtt (http://shelly-api-docs.shelly.cloud/#shelly2-roller-index-calibrate)
Has anybody figured out how to use the availability_topic & payloads that are required for a Shelly 1?
On the Shelly device running stock firmware I have set the Will topic to “shelly-056C61/LWT” and the Will message to “Offline”.
In the MQTT switch setting in HA I have:
availability_topic: "shelly-056C61/LWT"
payload_available: "Online"
payload_not_available: "Offline"
When I reboot HA it initially showed as “Unavailable”. Then I post “Online” to the will topic and then it shows as available again.
Watching the topics on MQTT.Fx I never see any LWT topics ever being published by the shelly on reboot.
I’m honestly not sure how I’m supposed to set the LWT topic up.
Since version 1.4 is it possible to have the roller shutter a cover similar to this one, with the slider?
I read we don’t need to flash Tasmota to integrate shelly1 into HA.
Is this really or we need Tasmota?
The shelly has mqtt support in the original firmware so you can configure it as an mqtt switch in home assistant.
Ok also to configure it with lights?