question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HABridge sometimes executes both "on" and "dim" command

See original GitHub issue

Hi,

with 5.2.0 RC23 and 5.2.0 Final I noticed that sometimes, not always, HABridge executes both the on AND the dim command. I just do simple URL Calls with HA Bridge. I noticed double log entries in my FHEM system when using Alexa and started investigating. I narrowed it down to HA Bridge devices that both have a on command and a dim command.

I’m not sure if the problem is with Alexa or HA Bridge, though.

This is what fhem is logging: 2018-03-14_17:37:02 AlexaSonnenschutzWohnzimmerTuer on 2018-03-14_17:37:03 AlexaSonnenschutzWohnzimmerTuer 100 2018-03-14_17:37:23 AlexaSonnenschutzWohnzimmerTuer on 2018-03-14_17:37:42 AlexaLichtSchlafzimmerBett off 2018-03-14_18:22:34 AlexaLichtStudio on 2018-03-14_18:22:34 AlexaLichtStudio 100 2018-03-14_18:40:51 AlexaKamerasInnen off 2018-03-14_18:41:38 AlexaDreamboxStudio on 2018-03-14_18:41:38 AlexaDreamboxStudio 50 2018-03-14_18:43:49 AlexaFernsehenEssecke on 2018-03-14_18:49:32 AlexaLichtCouch on 2018-03-14_18:49:32 AlexaLichtCouch 100 2018-03-14_18:53:55 AlexaLichtCouch off 2018-03-14_20:23:41 AlexaFernsehenEssecke off 2018-03-14_20:24:26 AlexaHeizstrahler on 2018-03-14_20:24:26 AlexaHeizstrahler 100 2018-03-14_20:25:17 AlexaLichtStudio off

As you can see, some time entries are double; on and the dim command for 100 percent.

Sample entry for Heizstrahler: Type = HTTP Device Target Item = http://192.168.178.230:58083/fhem?cmd=set AlexaHeizstrahler on HTTP Verb = Get Content Type = Text/HTML

Dim Item: http://192.168.178.230:58083/fhem?cmd=set AlexaHeizstrahler ${intensity.percent}

Greetings from Germany, Heiko

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:39 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
SelmaUrbancommented, Dec 28, 2019

That is a different twist on that setting. If bright request present with on, only send dim. This would be an enhancement.

Would be nice if it could be found in the next version

0reactions
sbormanncommented, Jan 1, 2020

Done: https://github.com/bwssytems/ha-bridge/issues/1171#issue-544385475 Many thanks! And best wishes for 2020!

Read more comments on GitHub >

github_iconTop Results From Across the Web

General Ha-Bridge Guide (Hue Bridge for Alexa or Google ...
A general thread with guides for Ha Bridge not buried as a fix for ... The command for the dim items is the...
Read more >
Toying with HA-BRIDGE - Scargill's Tech Blog
So the general idea is that this Java file will run – and give you a web page in which you can create...
Read more >
HA Bridge and Alexa Device Discovery
When the Echo instructs it to say turn on one of these devices, HA Bridge passes the appropriate command to a home automation...
Read more >
Alex10 (x10 control with Amazon echo, dot or tap)
It writes needed scripts in the HA-bridge for On/off or dim execution of x10 devices. It is small and will run on a...
Read more >
Has anyone attempted/accompished Google Home integration ...
MrBoo: The HA bridge only has four commands. On, Off, Bright and Dim. Really, Bright and Dim are the same command line. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found