Jump to content

T.E.

Members
  • Posts

    78
  • Joined

  • Last visited

  • Days Won

    2

T.E. last won the day on December 30 2023

T.E. had the most liked content!

1 Follower

About T.E.

  • Birthday 07/25/1971

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

T.E.'s Achievements

Enthusiast

Enthusiast (6/14)

  • One Year In
  • Collaborator
  • One Month Later
  • Conversation Starter
  • Week One Done

Recent Badges

27

Reputation

  1. please check, there's a simple http GET request to the HuE-Bridge included.
  2. check this post, there's a link incl. username & password.
  3. Thought a good start would be a very minimalistic script .. it is a boolean swtich to control a HuE Light Bulb via HuE-Bridge. to keep it simple currently just on and off. // CONFIG START let CONFIG = { ip: '192.168.178.168', //Hue Bridge IP user: 'Y0NXhTgbfcZYk0dSrTB70Va0XSZKFJdUYJcAj4bp', //Hue Bridge API user light: '4', // Hue Light ID input1: 200, // Shelly virtual switch ID }; Shelly.addStatusHandler(function (e) { if (e.delta.id === CONFIG.input1 && e.delta.value === false) { Toggle("false"); } else { Toggle("true"); } }); function Toggle(state) { let b = '{"on": ' + state + '}'; Shelly.call( "http.request", { method: "PUT", url: 'http://' + CONFIG.ip + '/api/' + CONFIG.user + '/lights/' + CONFIG.light + '/state', body: b }, function (r, e, m) {}, null ); } function CheckBridgeState() { Timer.set(1000, true, function () { Shelly.call( "http.request", { method: "GET", url: 'http://' + CONFIG.ip + '/api/' + CONFIG.user + '/lights/' + CONFIG.light, }, function (res, error_code, error_message, ud) { let st = JSON.parse(res.body); if (st.state.on === true) { Shelly.call("boolean.set", { id: CONFIG.input1, value: true }); } else { Shelly.call("boolean.set", { id: CONFIG.input1, value: false }); } }, null ); }, null); } CheckBridgeState();
  4. "Bug" in the new App (control.shelly.cloud) As you can see in the screenshot: all conditions for actions are visible. IMO there should be only those actions selectable which are supported by the device. I'ts a Shelly Plus 1PM without Addon, so single, doube, tripple, longpush, analog input change and analog measurement wont work. The device UI is fine, only switch on/off and input on/off are visible.
  5. The shutter icon next to the %-open status is wrong, all the shutters are 0% open (fully closed) my bathroom shutter is currently 100% open, but the icon indicates it is closed.
×
×
  • Create New...