Hi @NickLocke ,
No daft errors. The first problem is ours; the second is a trap I’m fixing.
1. The download
Not your fault. Schneider repackaged the C-Gate zip on 24 July, so the checksum the add-on verifies against no longer matches and it correctly refuses the file. The C-Gate inside is unchanged (still build 1855), they just re-zipped it. A fix is on its way.
To get going now:
-
Download the zip yourself: https://download.se.com/files?p_Doc_Ref=C-Gate_3_Linux_Package_V3.3.2
-
Put it in
/share/cgate/(see the/sharenote below) -
Set
cgate_install_sourcetoupload -
Restart
2. The project file
When the download fails the add-on stops before it ever looks for your project, so that side probably hasn’t run yet. Recheck once the download works. That said, two things look wrong.
The /share path. File Editor shows the inside of config, so a share folder created there becomes /config/share/ (displayed as /homeassistant/share). That isn’t the top-level /share, and the add-on only sees the top-level one. The files need to be at /share/cgate/tag/, alongside the other top-level folders. Samba or SSH make this easier to get right, as they show the top-level shares directly.
The file type. Only <PROJECT>.db is loaded. A .cbz there is ignored, currently in silence, which is why you got no useful message. That’s what I’m fixing. Your reading of the docs was reasonable and the docs are at fault: the web UI does import .cbz/.xml, but only to read label names for friendly entity names. That’s separate from installing the project, and only a .db does that.
On having XML: the XML is an export, not the project. You want <PROJECT>.db from the tag folder in your Toolkit installation’s C-Gate directory, which is C-Gate’s own SQLite copy. Copy that rather than an export, and the name must match your cgate_project option, case-sensitively.
So: fix the download, find the .db, put it in the top-level /share/cgate/tag/, restart, and check the log says Synced project '<NAME>'. If it still won’t start, post the log again. With the download fixed it’ll finally be able to tell us what the project side is doing.
Thanks for the clear report, and for saying which bit of the docs misled you. Most useful part.
Doug




