ridiekel / jeletask

An open source java API for Teletask domotics (https://www.teletask.be/).
https://github.com/ridiekel/jeletask
GNU General Public License v3.0
5 stars 4 forks source link

jeletaks not working with Nanos centrale #34

Open Jimnaldo opened 1 year ago

Jimnaldo commented 1 year ago

Hi,

we are trying to get the jeletaks integration to work with a nanos centrale. Jeletaks seems to connect to the nanos centrale because it's gets a license from the Nanos centrale but for the rest nothing seems to work.

Any idea's, you can find the log in the attachment compose_jeletask2mqtt_1.html.pdf

Jimnaldo commented 1 year ago

hello anyone?

ridiekel commented 1 year ago

Hi Jimnaldo,

Looking at the logs, I'm guessing something is wrong with the connection to the central unit.

Caused by: java.net.SocketException: Broken pipe

The first thing jeletask tries to do is a GroupGetTask, which basically fetches the states of everything you configured in the config.json. The initial log messages are just info messages that don't connect to the central unit (so it doesn't actually fetch the license). It fails at the first thing it tries to do.

Things to check:

Please also keep in mind I am still working on the HA integration as well. I am currently trying to get automated testing in place to test HA integration, since I have unwillingly broken it in the past. Your mileage may vary at this moment if you want to have auto discovery in HA.

Using mqtt and manually configuring it should all work out of the box though.