fmartinou / tydom2mqtt

Deltadore Tydom to MQTT Bridge
https://fmartinou.github.io/tydom2mqtt/
MIT License
96 stars 56 forks source link

MQTT configuration non used by Add-on #27

Open GauthierCrp opened 2 years ago

GauthierCrp commented 2 years ago

Hello everyone, I'm new with Tydom box, I have just recently bought a house with this techno. I've just installed the box. Everything is OK in the app, but as all my domotic stuff I want it in HA. So I've installed the fmartinou's add-on (thaks a lot, to you) but when I fill the configuration and restart the add-on, the cofiguration seems to not take effect. As you can see there, I have a login/password for my MQTT broker, but the Add-on try to connect with default cofiguration. image image image

Any idea ? Many thanks in advance,

Best Regards, Gauthier

fmiermont commented 2 years ago

Hello @GauthierCrp ,

I'm guessing this is an issue with parameter TYDOM_ALARM_PIN that is NOT setup on your config file. You should fine something like this at the startup : __main__ - ERROR - Parsing error 'TYDOM_ALARM_PIN' As this parameter is NOT setup, parsing the config file failed, and then your configuration is not loaded. Just put a random value (0 for exemple) and you should be fine !

GauthierCrp commented 2 years ago

Hello et Bonjour,

It Works. I put a random PIN, 1234 as Alarm Pin. That was one point of the issue. But I ALSO, change the password of the Tydom app, by installing the V3 version of the app by Aptoide, and then reset the password to put a simple password with letters and numbers.

And now everything is working like a charm. Un grand merci à toi et au temps passé pour developer cette intégration !

Best Regards

fmartinou commented 2 years ago

I put a random PIN, 1234 as Alarm Pin. That was one point of the issue. Yes, that’s a trap :confused: I need to improve that to make this alarm configuration really optional for those who don’t have any alarm.

cimbraman commented 2 years ago

Hello et bonjour,

I have the same issue trying to activatetydom2mqtt.

I´ve tried to enter the TYDOM_ALARM_PIN in the configuration tab via Yaml optión, but when I try to save It show me an error:

image

I don´t have alarm in my Delta Dore System.

What I´m doing wrong?

Thank You very much

nicoz76 commented 1 year ago

ajoute un code pin bidon via la page web et non en YAML.

ça a fonctionné pour moi.

fmartinou commented 1 year ago

Hi,

The alarm pin is expected to be a string (not a number). So in yaml, you must enclose your digits with single or double quotes.