Integration Axis not working after update 0.117

It’s been merged so all we’re waiting for is a new release

Update: cdeler who did the fix for upstream library h11 has talked to the h11 maintainer and it seems we might get a release with the bug fix as early as this Friday. If that is the case you can expect it to be a part of next major hass release

The fix will be available in next beta of HASS; https://github.com/home-assistant/core/issues/42415

HASS 2021.1 is out, try it out and share your experience :tada:

4 Likes

Yes, it works! Thanks for all the effort.

2 Likes

Thanks for the feedback!

@Robban Another confirmation that it’s working now. Thank you!

Works here too. as Vinx say “Thanks for all the effort”!!!

Yes its working :smiley: Thank you ^^
Just two small questions:

  • I got a Axis M1054, The PIR sensor is detected perfectly. Unfortunately there is no button to switch the built-in light on and off or see the state. (Is this normal ?)
  • Is it possible to play an audio clip ?

I don’t see any options in the integration to do that either.
The only thing I can think of is to call the url. This would be a workaround, but its easy to set up.
For my M1031-W, this would be for example:

http://[ip-address]/axis-cgi/io/lightcontrol.cgi?action=L1:-100 for light on (or L1:-0 for light off)
http://[ip-address]/axis-cgi/playclip.cgi?clip=6 (or whatever clip you want)
The exact url’s could be different for your model though.

You could use Restful Command for this, which also accepts username/password. I just tested it and it works.

1 Like

Sorry, no support to play audio clips yet and the only light control API Im using is the http://[ip-address]/axis-cgi/lightcontrol.cgi which Im guessing is a newer one.

Heyy :slight_smile:
Yeah thank you this is more than enough for me and works like a charm ^^
Do you maybe know how I can get the currrent State of:

  • Playing Clip
  • State of Light (Like on or off)