laurent-martin / ets-to-homeassistant

script to convert ETS5 project file to a YAML configuration file suitable for Home Assistant
Apache License 2.0
52 stars 12 forks source link

Errors with ETS6 Projects ! #13

Open vincegre opened 9 months ago

vincegre commented 9 months ago

Hi

I tried to use your tool with a basic ETS6 project but it fails with some Ruby errors:

vincen@pingouin-portable:~/ets-to-homeassistant$ ./ets_to_hass.rb --format /home/vincen/Bureau/Formation\ tout\ en\ 3.knxproj --ha-knx > /home/vincen/Bureau/ha.yaml
./ets_to_hass.rb:159: syntax error, unexpected ','
        type:,
./ets_to_hass.rb:160: syntax error, unexpected ',', expecting `end'
....map { |g| g['RefId'].freeze },
./ets_to_hass.rb:162: syntax error, unexpected '}', expecting `end'
      }.merge(info)
./ets_to_hass.rb:264: syntax error, unexpected `end', expecting end-of-input

Any chance to get the problem fixed ?

Thanks

Vincèn

laurent-martin commented 6 months ago

In case you can share a small ETS6 project, I can have a look.

zeev-mindali commented 6 months ago

here is my test project that you can check: test.knxproj.zip

MelindaJaphines commented 4 months ago

Hey

I was also wondering if there is a plan to support ETS6 projects in the future?

laurent-martin commented 4 months ago

I think that un-encrypted projects should work. But currently password-protected projects are not supported yet. Is your project password protected?