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.