Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


ping_shelly_vintage.lua 1.0.0

   (0 reviews)

About This File

v 1.1 22/05/2021
This scene polls if a Shelly Vintage bulb is online and sets its state.
The default state is "opposite" which is converted to legal values "on" or "off".
When state is a numeric value it is interpreted as brightness setting.
Also, this scene can be called from another scene as fibaro:startScene(number_of_this_scene,{ip_number,a_state_as_described_above});
Things are complicated by the asynchronous character of the http call.
With many thanks to jgab for the solution to this challenge.

There is now also a VD based on this lua.

 

 

Edited by Theo
now full IPv4 address is used as input parameter


What's New in Version 1.0.0   See changelog

Released

In this version the complete IPv4-address is used instead of only the last digit group.

 Share


Other Files from Theo


User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...