Hello,
Have you reconfigured the MQTT integration with discovery ?
Hello,
Have you reconfigured the MQTT integration with discovery ?
Hi,
Yes, i have this
I don’t have any alarm_contrl_panel from mqtt discovery, so i add one in configuration.yaml of HA :
When I click on armed or disarmed, I can see the status evolving in MQTT but nothing in the logs of the container …
It is as if the MQTT customer of the container does not listen to the topic.
PS : I use Myfox2MQTT docker-container
Hello,
Can you tell me what I can test or bring as an action on my side to make it work?
Thank you so much
Can you install “MQTT explorer” on you PC and check homeassistant/alarm_control_panel config topic.
Thanks for your help.
I installed MQTT Explorer and here is the result:
I could noticed that the armament of the alarm goes through “armed_away” and nothing happens …
On the other hand, if I push the value “armed” and “disarmed” in the topic myfox2mqtt/22865/command, the alarm activates/deactivates well
And for your topic, i don’t get it …
alarm_control_panel doesn’t exists for me… this is the trouble ?
Hi,
Have you got an Idea ?
Thanks for your help
Hi,
Can anyone help me to solve this error in somfyprotect2mqtt?
This is my log:
Add-on: SomfyProtect2MQTT
Publish Somfy Home Alarm as MQTT messages
-----------------------------------------------------------
Add-on version: 2024.3.0
You are running the latest version of this add-on.
System: Home Assistant OS 12.4 (amd64 / qemux86-64)
Home Assistant Core: 2024.7.3
Home Assistant Supervisor: 2024.06.2
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun SomfyProtect2MQTT (no readiness notification)
s6-rc: info: service legacy-services successfully started
[12:11:20] INFO: Generating config.yaml from options.json
[12:11:20] INFO: Configuration :
[12:11:20] INFO: # Generated by homeassistant, do not edit!
# Edit configuration only at the Add-on configuration tab!
debug: false
delay_device: 30
delay_site: 10
homeassistant_config:
code: 0
code_arm_required: false
code_disarm_required: false
manual_snapshot: false
mqtt:
client-id: somfy-protect
ha_discover_prefix: homeassistant
host: 192.168.x.xxx
password: password
port: port
ssl: false
topic_prefix: somfyProtect2mqtt
username: usr
somfy_protect:
password: pwd
sites:
- Huis
username: email
streaming: mqtt
[12:11:21] INFO: Image build
[12:11:21] INFO: starting original stuff...
2024-07-22 12:11:24,223 [INFO] [__main__:57] Starting SomfyProtect2Mqtt 2024.3.0
2024-07-22 12:11:24,224 [INFO] [root:42] Reading config file /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml
2024-07-22 12:11:24,235 [INFO] [root:112] Init SSO
2024-07-22 12:11:24,236 [INFO] [somfy_protect.sso:77] Requesting Token
Traceback (most recent call last):
File "/usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/main.py", line 66, in <module>
SSO = init_sso(config=CONFIG)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/somfy_protect/sso/__init__.py", line 120, in init_sso
token = sso.request_token()
^^^^^^^^^^^^^^^^^^^
File "/usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/somfy_protect/sso/__init__.py", line 78, in request_token
return self._oauth.fetch_token(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests_oauthlib/oauth2_session.py", line 406, in fetch_token
self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 427, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in parse_token_response
validate_token_parameters(params)
File "/usr/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 451, in validate_token_parameters
raise MissingTokenError(description="Missing access token parameter.")
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.
[10:11:24] WARNING: Halt add-on
[10:11:24] INFO: Service restart after closing
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped