Open Dvid72 opened 1 year ago
Hey @Dvid72, This error isn't a critical one everything should work as expected. When you create an file with "{}" as it's content and "automation.json" as it's name the error should be gone.
~ SynTex
Hello SyntexDZN,
Sorry, I didn't quite understand your answer. I don't think I use automation. Last time, I installed and configured "Syntex KNX" via Homebridge UI. To date, I redid the file with {} and restarted but I still have the following log:
[SynTexKNX] [SUCCESS] KNX IP Gateway connected!
[9/16/2023, 1:36:23 PM] [Valve] Error parsing status: Unexpected end of JSON input
[SynTexKNX] [ERROR] [automation.json] could not be parsed!
SyntaxError: Unexpected end of JSON input
at JSON.parse (
To resume the plugin, I try to uninstall "Syntex KNX" but here is the error message:
USER: homebridge DIRECTORY: /var/lib/homebridge CMD: uninstall npm --save homebridge-syntex-knx
npm ERR! ENOTEMPTY code npm ERR! rename system call npm ERR! path /var/lib/homebridge/node_modules/homebridge-syntex-knx npm ERR! dest /var/lib/homebridge/node_modules/.homebridge-syntex-knx-zEcflXQp npm ERR! error number -39 npm ERR! ENOTEMPTY: Directory not empty, rename '/var/lib/homebridge/node_modules/homebridge-syntex-knx' -> '/var/lib/homebridge/node_modules/.homebridge-syntex-knx-zEcflXQp'
npm ERR! A full log of this run can be found in: /home/homebridge/.npm/_logs/2023-09-16T09_54_22_565Z-debug-0.log
The operation failed. Please see the log for more details.
I made a small donation this week for support. Thank you for your help and best regards.
Hello,
here is my json code ! My equipment is blind and dimmer with variable. I have the status in homekit but the command is KO
Think
{ "platform": "SynTexKNX", "name": "SynTexKNX", "baseDirectory": "/var/homebridge/SynTex", "ip": "XXX.XXX.X.X", "options": { "port": XXXX, "language": "us", "disablePreload": false }, "log": { "debug": false }, "accessories": [ { "id": "VR9", "name": "VR9", "services": [ { "datapoint": "5.001", "address": { "status": "13/0/201", "control": "13/0/2" }, "delay": { "up": 11800, "down": 11800 }, "type": "blind", "name": "VR9" } ] }, { "id": "VR1", "name": "VR1", "services": [ { "datapoint": "5.001", "address": { "status": "13/1/201", "control": "13/1/2" }, "delay": { "up": 17300, "down": 17300 }, "type": "blind", "name": "VR1" } ] }, { "id": "VR2", "name": "VR2", "services": [ { "datapoint": "5.001", "address": { "status": "13/1/203", "control": "13/1/5" }, "delay": { "up": 16200, "down": 16200 }, "type": "blind", "name": "VR2" } ] }, { "id": "VR4", "name": "VR4", "services": [ { "datapoint": "5.001", "address": { "status": "13/1/205", "control": "13/1/8" }, "delay": { "up": 16500, "down": 16500 }, "type": "blind", "name": "VR4" } ] }, { "id": "VR5", "name": "VR5", "services": [ { "datapoint": "5.001", "address": { "status": "13/1/207", "control": "13/1/11" }, "delay": { "up": 14800, "down": 14800 }, "type": "blind", "name": "VR5" } ] }, { "id": "VR6", "name": "VR6", "services": [ { "datapoint": "5.001", "address": { "status": "13/1/209", "control": "13/1/14" }, "delay": { "up": 24500, "down": 24500 }, "type": "blind", "name": "VR6" } ] }, { "id": "VR7", "name": "VR7", "services": [ { "datapoint": "5.001", "address": { "status": "13/1/211", "control": "13/1/17" }, "delay": { "up": 29800, "down": 29800 }, "type": "blind", "name": "VR7" } ] }, { "id": "ECL17", "name": "ECL17", "services": [ { "address": { "status": "6/0/210", "control": "6/0/12" }, "type": "dimmer" } ] }, { "id": "ECL1", "name": "ECL1", "services": [ { "address": { "status": "6/0/201", "control": "6/0/2" }, "type": "dimmer" } ] }, { "id": "ECL2BIS", "name": "ECL1BIS", "services": [ { "address": { "status": "6/0/202", "control": "6/0/3" }, "type": "switch" } ] }, { "id": "Etat portail", "name": "Etat portail", "services": [ { "address": { "status": "13/2/200" }, "type": "contact", "name": "Etat portail" } ] } ] }
Hello, for information I did this and now everything works again:
To remove version 1.0.4 : rename '/var/lib/homebridge/node_modules/homebridge-syntex-knx' -> '/var/lib/homebridge/node_modules/.homebridge-syntex-knx-zEcflXQp'
Reinstallation version 1.0.3 and reboot.
Hello, I have the same problem with version 1.0.3 Control = Failing Status = OK
Have you a solution ?
Thank you for the work. I have this : [SynTexKNX] [ERROR] Error: getaddrinfo ENOTFOUND syntex.sytes.net at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[SynTexKNX] [INFO] [value] of [Up / Down] is not in the cache storage! ( 2/3/3 ) [SynTexKNX] [INFO] [value] of [Stop] is not in the cache storage! ( 2/3/3 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 100] ( 1/3/2 )
Do you have any more logs about this issue. All what I've seen yet is a handeled error and shouldn't be that critical that the homebridge fails to boot.
~ SynTex
I send you more logs tonight.Thank youAnthony Pinto06.03.59.02.23Le 8 févr. 2024 à 08:20, SynTex @.***> a écrit : Do you have any more logs about this issue. All what I've seen yet is a handeled error and shouldn't be that critical that the homebridge fails to boot. ~ SynTex
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
I send you more logs.
[08/02/2024, 18:43:58] [SynTexKNX] Initializing SynTexKNX platform... [08/02/2024, 18:43:58] [SynTexKNX] Initializing child bridge 0E:8A:0B:D8:87:7C Setup Payload: X-HM://0024GYV5ZH216 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│
└────────────┘
[08/02/2024, 18:43:58] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge CA87) is running on port 51864. [08/02/2024, 18:43:59] [SynTexKNX] Launched child bridge with PID 52791 [info] "2024-02-08T17:43:59.611Z" 'Loading knx: KNXnet/IP protocol implementation for Node(>=4.x), version: 2.5.2' [08/02/2024, 18:43:59] Registering platform 'homebridge-syntex-knx.SynTexKNX' [08/02/2024, 18:43:59] [SynTexKNX] Loaded homebridge-syntex-knx v1.0.3 child bridge successfully [08/02/2024, 18:43:59] Loaded 3 cached accessories from cachedAccessories.0E8A0BD8877C. [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Prises Commandées] ( 14813d77-2768-4063-bd1f-9a920cf91cd8 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Spots] ( fa28561b-a546-49d6-95d2-f7957a2ecbbd ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Volets Roulants 1] ( 9f6b04ca-5adb-4058-9ee1-3549f42ab785 )
Le jeu. 8 févr. 2024 à 08:48, Anthony Pinto @.***> a écrit :
I send you more logs tonight.
Thank you
Anthony Pinto 06.03.59.02.23
Le 8 févr. 2024 à 08:20, SynTex @.***> a écrit :
Do you have any more logs about this issue. All what I've seen yet is a handeled error and shouldn't be that critical that the homebridge fails to boot.
~ SynTex
— Reply to this email directly, view it on GitHub https://github.com/SynTexDZN/homebridge-syntex-knx/issues/19#issuecomment-1933488425, or unsubscribe https://github.com/notifications/unsubscribe-auth/BF74Z2567ZH2GJTYO23PV43YSR4EVAVCNFSM6AAAAAA4UZGWEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGQ4DQNBSGU . You are receiving this because you commented.Message ID: @.***>
--
Anthony PINTO 06.03.59.02.23
When I touch a light in homekit
[SynTexKNX] [UPDATE] HomeKit state of [Prises Commandées] is now [true] ( knx01 )
/var/lib/homebridge/node_modules/homebridge-syntex-knx/node_modules/syntex-automation/src/automation.js:159
return new Promise((resolve) => {
^
TypeError: this.automation is not iterable
at
/var/lib/homebridge/node_modules/homebridge-syntex-knx/node_modules/syntex-automation/src/automation.js:165:34
at new Promise (
Le jeu. 8 févr. 2024 à 18:44, Anthony Pinto @.***> a écrit :
I send you more logs.
[08/02/2024, 18:43:58] [SynTexKNX] Initializing SynTexKNX platform... [08/02/2024, 18:43:58] [SynTexKNX] Initializing child bridge 0E:8A:0B:D8:87:7C Setup Payload: X-HM://0024GYV5ZH216 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐ │ └────────────┘
[08/02/2024, 18:43:58] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge CA87) is running on port 51864. [08/02/2024, 18:43:59] [SynTexKNX] Launched child bridge with PID 52791 [info] "2024-02-08T17:43:59.611Z" 'Loading knx: KNXnet/IP protocol implementation for Node(>=4.x), version: 2.5.2' [08/02/2024, 18:43:59] Registering platform 'homebridge-syntex-knx.SynTexKNX' [08/02/2024, 18:43:59] [SynTexKNX] Loaded homebridge-syntex-knx v1.0.3 child bridge successfully [08/02/2024, 18:43:59] Loaded 3 cached accessories from cachedAccessories.0E8A0BD8877C. [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Prises Commandées] ( 14813d77-2768-4063-bd1f-9a920cf91cd8 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Spots] ( fa28561b-a546-49d6-95d2-f7957a2ecbbd ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Volets Roulants 1] ( 9f6b04ca-5adb-4058-9ee1-3549f42ab785 )
Le jeu. 8 févr. 2024 à 08:48, Anthony Pinto @.***> a écrit :
I send you more logs tonight.
Thank you
Anthony Pinto 06.03.59.02.23
Le 8 févr. 2024 à 08:20, SynTex @.***> a écrit :
Do you have any more logs about this issue. All what I've seen yet is a handeled error and shouldn't be that critical that the homebridge fails to boot.
~ SynTex
— Reply to this email directly, view it on GitHub https://github.com/SynTexDZN/homebridge-syntex-knx/issues/19#issuecomment-1933488425, or unsubscribe https://github.com/notifications/unsubscribe-auth/BF74Z2567ZH2GJTYO23PV43YSR4EVAVCNFSM6AAAAAA4UZGWEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGQ4DQNBSGU . You are receiving this because you commented.Message ID: @.***>
--
Anthony PINTO 06.03.59.02.23
--
Anthony PINTO 06.03.59.02.23
You can try to delete the "automation.json" file or replacing the content with "[{}]"
Ok I restart plugin
[08/02/2024, 19:46:51] [SynTexKNX] Restarting child bridge... [08/02/2024, 19:46:51] Got SIGTERM, shutting down child bridge process... [08/02/2024, 19:46:56] [SynTexKNX] Child bridge process ended [08/02/2024, 19:46:56] [SynTexKNX] Process Ended. Code: 143, Signal: null [08/02/2024, 19:47:03] [SynTexKNX] Restarting Process... [08/02/2024, 19:47:04] [SynTexKNX] Launched child bridge with PID 68463 [info] "2024-02-08T18:47:04.392Z" 'Loading knx: KNXnet/IP protocol implementation for Node(>=4.x), version: 2.5.2' [08/02/2024, 19:47:04] Registering platform 'homebridge-syntex-knx.SynTexKNX' [08/02/2024, 19:47:04] [SynTexKNX] Loaded homebridge-syntex-knx v1.0.3 child bridge successfully [08/02/2024, 19:47:04] Loaded 3 cached accessories from cachedAccessories.0EBD7C6CF007. [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [value: 67] ( knx3 ) [08/02/2024, 19:47:04] Homebridge v1.7.0 (HAP v0.11.1) (SynTexKNX) is running on port 50136. [SynTexKNX] [ERROR] [automation-lock.json] could not be read! [Error: ENOENT: no such file or directory, open '/var/homebridge/SynTex/automation/automation-lock.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/homebridge/SynTex/automation/automation-lock.json' } [SynTexKNX] [SUCCESS] The automation system was successfully loaded and activated! [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 98] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [67] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 98] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [67] ( knx3 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 100] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 2] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 39] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 59] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 5] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: false, brightness: 0] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: false, brightness: 0] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: false, brightness: 0] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [67] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 59] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 60] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 60] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [67] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 60] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 60] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [67] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [UPDATE] HomeKit state of [PCC] is now [false] ( knx1 ) [SynTexKNX] [UPDATE] HomeKit state of [PCC] is now [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [67] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 60] ( knx2 ) [SynTexKNX] [UPDATE] HomeKit state of [PCC] is now [false] ( knx1 )
Same problem Status OK Command NOK
Could be an KNX interface issue. Please try changing the content of "src/device-manager.js" ( Line 25 ) "loglevel: 'info'" -> "loglevel: 'debug'". Also enable the platform debug logging parameter in your "config.json": "log": { "debug": true }
. Let's see if that gives us more information.
My Interface KNX work with RTI Control without problems. I test your answer
New log after change 2/2024, 20:43:23] [SynTexKNX] Loaded homebridge-syntex-knx v1.0.3 child bridge successfully [08/02/2024, 21:47:54] [SynTexKNX] Restarting child bridge... [08/02/2024, 21:47:54] Got SIGTERM, shutting down child bridge process... [08/02/2024, 21:47:59] [SynTexKNX] Child bridge process ended [08/02/2024, 21:47:59] [SynTexKNX] Process Ended. Code: 143, Signal: null [08/02/2024, 21:48:06] [SynTexKNX] Restarting Process... [08/02/2024, 21:48:07] [SynTexKNX] Launched child bridge with PID 78479 [info] "2024-02-08T20:48:08.068Z" 'Loading knx: KNXnet/IP protocol implementation for Node(>=4.x), version: 2.5.2' [08/02/2024, 21:48:08] Registering platform 'homebridge-syntex-knx.SynTexKNX' [08/02/2024, 21:48:08] [SynTexKNX] Loaded homebridge-syntex-knx v1.0.3 child bridge successfully [08/02/2024, 21:48:08] Loaded 3 cached accessories from cachedAccessories.0EBD7C6CF007. [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [PCC] ( b226573c-a8c6-4676-ba4a-2cd829acf0e7 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Spots] ( 465a1588-a272-48ec-a9db-9fe173e640c8 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Volets Roulants 1] ( 18a6ae9c-ee1a-42b6-80af-30a5043563fe ) [debug] 2024-02-08 20:48:08.409 initializing private connection to 192.168.1.17 [SynTexKNX] [DEBUG] Existing accessory found! [PCC] ( knx1 ) [SynTexKNX] [DEBUG] Existing information-service found! [PCC] ( knx1 ) [SynTexKNX] [DEBUG] Existing service found! [name: PCC, type: switch, letters: 40] ( knx1 )
When I use Homekit, i see nothing in Bus KNX
[SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: false, brightness: 0] ( knx2 ) [debug] 2024-02-08 20:52:23.502 Inbound message: 06100421000a04031000 [debug] 2024-02-08 20:52:23.504 ===== datagram 16 acknowledged by IP router [debug] 2024-02-08 20:52:23.505 (idle): zzzz... [debug] 2024-02-08 20:52:23.506 Inbound message: 061004200016040319002e00bce0ff0f0b0202008000 [debug] 2024-02-08 20:53:08.548 Requesting Connection State [debug] 2024-02-08 20:53:08.555 Inbound message: 0610020800080300 [debug] 2024-02-08 20:53:08.557 (idle): zzzz... [08/02/2024, 21:53:11] [Homebridge UI] Starting terminal session [debug] 2024-02-08 20:54:08.557 Requesting Connection State [debug] 2024-02-08 20:54:08.561 Inbound message: 0610020800080300 [debug] 2024-02-08 20:54:08.563 (idle): zzzz... [debug] 2024-02-08 20:55:08.562 Requesting Connection State [debug] 2024-02-08 20:55:08.567 Inbound message: 0610020800080300 [debug] 2024-02-08 20:55:08.568 (idle): zzzz... [08/02/2024, 21:55:17] [Homebridge UI] Terminal session ended. [debug] 2024-02-08 20:56:08.569 Requesting Connection State [debug] 2024-02-08 20:56:08.575 Inbound message: 0610020800080300 [debug] 2024-02-08 20:56:08.576 (idle): zzzz... [SynTexKNX] [READ] HomeKit state of [Up / Down] is [0] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [false] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: false, brightness: 0] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: false, brightness: 0] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: false, brightness: 0] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [false] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [0] ( knx3 ) [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/0/3"] true [debug] 2024-02-08 20:56:16.083 deferring outbound_TUNNELING_REQUEST until transition sendDatagram => idle [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/2/3"] true [debug] 2024-02-08 20:56:16.085 (sendDatagram): >>>>>>> successfully sent seqnum: 17 [SynTexKNX] [UPDATE] HomeKit state of [PCC] is now [true] ( knx1 ) [debug] 2024-02-08 20:56:16.090 Inbound message: 06100421000a04031100 [debug] 2024-02-08 20:56:16.091 ===== datagram 17 acknowledged by IP router [debug] 2024-02-08 20:56:16.091 (idle): zzzz... [debug] 2024-02-08 20:56:16.097 (sendDatagram): >>>>>>> successfully sent seqnum: 18 [debug] 2024-02-08 20:56:16.098 Inbound message: 06100420001504031a002e00bce0ff0f0803010081 [debug] 2024-02-08 20:56:16.099 deferring inbound_TUNNELING_REQUEST_L_Data.con until transition sendTunnReq_waitACK => idle [debug] 2024-02-08 20:56:16.100 Inbound message: 06100421000a04031200 [debug] 2024-02-08 20:56:16.101 ===== datagram 18 acknowledged by IP router [debug] 2024-02-08 20:56:16.101 (idle): zzzz... [debug] 2024-02-08 20:56:16.106 Inbound message: 06100420001504031b002e00bce0ff0f0a03010081 [debug] 2024-02-08 20:57:08.576 Requesting Connection State [debug] 2024-02-08 20:57:08.581 Inbound message: 0610020800080300 [debug] 2024-02-08 20:57:08.582 (idle): zzzz...
Tomorrow I can test with an other interface KNX
Other information. Before your plugin I have test with a plugin homebridge-knx-eib and it's work for switch. This plugin don't have control blind and dimmer.
The strange part is that I don't see any more error logs. Everything should work well at this point. I need more information to reproduce this issue.
What do you need?
For example what would happen if you reset the child bridge and run the plugin without accessories or/and no KNX gateway connection. What you could also try is installing "homebridge-syntex-webhooks" that we can see if my plugins core is causing this error. Please also update all of my plugins to the newest beta that the issue doesn't belong to outdated code.
Update not work.
USER: pi DIR: /var/lib/homebridge CMD: npm install --save homebridge-syntex-knx@1.0.4-b60
npm ERR! code ENOTDIR npm ERR! syscall rename npm ERR! path /var/lib/homebridge/node_modules/homebridge-syntex-knx npm ERR! dest /var/lib/homebridge/node_modules/.homebridge-syntex-knx-zEcflXQp npm ERR! errno -20 npm ERR! ENOTDIR: not a directory, rename '/var/lib/homebridge/node_modules/homebridge-syntex-knx' -> '/var/lib/homebridge/node_modules/.homebridge-syntex-knx-zEcflXQp'
npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-02-09T18_40_36_200Z-debug-0.log
Operation failed with code 236. You can download this log file for future reference. See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
Webhooks 👍 [09/02/2024, 19:47:19] [SynTexWebHooks] Initializing SynTexWebHooks platform... [SynTexWebHooks] [ERROR] There is no path given for data saving! [09/02/2024, 19:47:19] Loading 1 accessories... [09/02/2024, 19:47:58] [SynTexWebHooks] Initializing SynTexWebHooks platform... [09/02/2024, 19:47:58] [SynTexWebHooks] Initializing child bridge 0E:C4:CB:EA:15:24 [09/02/2024, 19:47:58] Loading 1 accessories... [09/02/2024, 19:48:01] [SynTexWebHooks] Launched child bridge with PID 124242 [09/02/2024, 19:48:01] Registering platform 'homebridge-doorbird.Doorbird' [09/02/2024, 19:48:02] [SynTexWebHooks] Loaded homebridge-syntex-webhooks v2.3.8 child bridge successfully [09/02/2024, 19:48:02] Loaded 4 cached accessories from cachedAccessories.0EBD7C6CF007. [09/02/2024, 19:48:02] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-samsungtv-2014) is running on port 48960. [SynTexWebHooks] [ERROR] There is no path given for data saving! [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [PCC] ( b226573c-a8c6-4676-ba4a-2cd829acf0e7 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Spots] ( 465a1588-a272-48ec-a9db-9fe173e640c8 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Volets Roulants 1] ( 18a6ae9c-ee1a-42b6-80af-30a5043563fe ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Porte Sectionnelle] ( 526ac0bd-5129-43f1-80d1-0dcbe4b32674 ) [SynTexKNX] [DEBUG] Existing accessory found! [PCC] ( knx1 ) [SynTexKNX] [DEBUG] Existing information-service found! [PCC] ( knx1 ) [SynTexKNX] [DEBUG] Existing service found! [name: PCC, type: switch, letters: 40] ( knx1 ) [09/02/2024, 19:49:39] [SynTexWebHooks] Initializing SynTexWebHooks platform... [09/02/2024, 19:49:39] [SynTexWebHooks] Initializing child bridge 0E:C4:CB:EA:15:24 [09/02/2024, 19:49:39] Loading 1 accessories... [09/02/2024, 19:49:43] [SynTexWebHooks] Launched child bridge with PID 124982 [09/02/2024, 19:49:43] Registering platform 'homebridge-bravia.BraviaPlatform' [09/02/2024, 19:49:43] [SynTexWebHooks] Loaded homebridge-syntex-webhooks v2.3.8 child bridge successfully [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [09/02/2024, 19:50:45] [SynTexWebHooks] Initializing SynTexWebHooks platform... [09/02/2024, 19:50:45] [SynTexWebHooks] Initializing child bridge 0E:C4:CB:EA:15:24 [09/02/2024, 19:50:45] Loading 1 accessories... [09/02/2024, 19:50:48] [SynTexWebHooks] Launched child bridge with PID 125685 [09/02/2024, 19:50:48] [SynTexWebHooks] Loaded homebridge-syntex-webhooks v2.3.8 child bridge successfully [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [PCC] ( b226573c-a8c6-4676-ba4a-2cd829acf0e7 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Spots] ( 465a1588-a272-48ec-a9db-9fe173e640c8 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Volets Roulants 1] ( 18a6ae9c-ee1a-42b6-80af-30a5043563fe ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Porte Sectionnelle] ( 526ac0bd-5129-43f1-80d1-0dcbe4b32674 ) [09/02/2024, 19:50:48] Loaded 0 cached accessories from cachedAccessories.0EC4CBEA1524. [09/02/2024, 19:50:48] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-doorbird) is running on port 52328. [SynTexKNX] [DEBUG] Existing accessory found! [PCC] ( knx1 ) [SynTexWebHooks] [ERROR] [SynTexWebHooks.txt] could not be read! [SynTexKNX] [DEBUG] Existing information-service found! [PCC] ( knx1 ) [Error: ENOENT: no such file or directory, open '/var/homebridge/SynTex/activity/SynTexWebHooks.txt'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/homebridge/SynTex/activity/SynTexWebHooks.txt' } [SynTexWebHooks] [ERROR] [SynTexWebHooks.txt] could not be read! [Error: ENOENT: no such file or directory, open '/var/homebridge/SynTex/activity/SynTexWebHooks.txt'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/homebridge/SynTex/activity/SynTexWebHooks.txt' } [SynTexKNX] [DEBUG] Existing service found! [name: PCC, type: switch, letters: 40] ( knx1 )
Update ok
[09/02/2024, 20:03:55] [SynTexKNX] Loaded homebridge-syntex-knx v1.0.4-b60 child bridge successfully [09/02/2024, 20:03:55] Loaded 4 cached accessories from cachedAccessories.0EBD7C6CF007. [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [1714] ( HTTP ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [PCC] ( b226573c-a8c6-4676-ba4a-2cd829acf0e7 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Spots] ( 465a1588-a272-48ec-a9db-9fe173e640c8 ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Volets Roulants 1] ( 18a6ae9c-ee1a-42b6-80af-30a5043563fe ) [SynTexKNX] [DEBUG] Configurating accessory from the cache storage [Porte Sectionnelle] ( 526ac0bd-5129-43f1-80d1-0dcbe4b32674 ) [09/02/2024, 20:03:55] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-samsungtv-2014) is running on port 48960. [SynTexKNX] [DEBUG] Existing accessory found! [PCC] ( knx1 ) [SynTexKNX] [DEBUG] Existing information-service found! [PCC] ( knx1 ) [SynTexKNX] [DEBUG] Existing service found! [name: PCC, type: switch, letters: 40] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [DEBUG] [PCC] was added to the system! ( knx1 ) [SynTexKNX] [DEBUG] Existing accessory found! [Spots] ( knx2 ) [SynTexKNX] [DEBUG] Existing information-service found! [Spots] ( knx2 ) [SynTexKNX] [DEBUG] Existing service found! [name: Spots, type: dimmer, letters: 90] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 56] ( knx2 ) [SynTexKNX] [DEBUG] [Spots] was added to the system! ( knx2 ) [SynTexKNX] [DEBUG] Existing accessory found! [Porte Sectionnelle] ( knx4 ) [SynTexKNX] [DEBUG] Existing information-service found! [Porte Sectionnelle] ( knx4 ) [SynTexKNX] [DEBUG] Existing service found! [name: Porte Sectionnelle, type: contact, letters: A0] ( knx4 ) [SynTexKNX] [READ] HomeKit state of [Porte Sectionnelle] is [false] ( knx4 ) [SynTexKNX] [DEBUG] [Porte Sectionnelle] was added to the system! ( knx4 ) [SynTexKNX] [DEBUG] Existing accessory found! [Volets Roulants 1] ( knx3 ) [SynTexKNX] [DEBUG] Existing information-service found! [Volets Roulants 1] ( knx3 ) [SynTexKNX] [DEBUG] Existing service found! [name: Up / Down, type: blind, letters: G0] ( knx3 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [value: 0, target: 0, state: 2] ( knx3 ) [SynTexKNX] [INFO] [target] of [Up / Down] is not in the cache storage! ( knx3 ) [SynTexKNX] [INFO] [state] of [Up / Down] is not in the cache storage! ( knx3 ) [SynTexKNX] [DEBUG] [Volets Roulants 1] was added to the system! ( knx3 ) [SynTexKNX] [DEBUG] KNX IP Gateway disconnected! [09/02/2024, 20:03:55] Homebridge v1.7.0 (HAP v0.11.1) (SynTexKNX) is running on port 50136. [SynTexKNX] [SUCCESS] KNX IP Gateway connected! [SynTexKNX] [ERROR] [automation-lock.json] could not be read! [Error: ENOENT: no such file or directory, open '/var/homebridge/SynTex/automation/automation-lock.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/homebridge/SynTex/automation/automation-lock.json' } [SynTexKNX] [SUCCESS] The automation system was successfully loaded and activated! [09/02/2024, 20:03:56] [homebridge-samsungtv-2014] TV is alive. [SynTexKNX] [READ] HomeKit state of [PCC] is [true] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 56] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [value: 0, target: 0, state: 2] ( knx3 ) [SynTexKNX] [INFO] [state] of [Up / Down] is not in the cache storage! ( knx3 ) [SynTexKNX] [INFO] [target] of [Up / Down] is not in the cache storage! ( knx3 ) [SynTexKNX] [READ] HomeKit state of [Porte Sectionnelle] is [false] ( knx4 ) [09/02/2024, 20:04:06] [homebridge-samsungtv-2014] TV is alive. [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/0/3"] {"value":false} [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/2/3"] {"value":false} [SynTexKNX] [UPDATE] HomeKit state of [PCC] is now [false] ( knx1 ) [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/0/3"] {"value":true} [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/2/3"] {"value":true} [SynTexKNX] [UPDATE] HomeKit state of [PCC] is now [true] ( knx1 )
When I change status in KNX Bus directly I have this log
[SynTexKNX] [DEBUG] GET [1/0/3] --> [1] [SynTexKNX] [DEBUG] GET [1/2/3] --> [1]
So do you have any more issues now? Because everything in the log seems right.
I test with another gateway today.
But what doesn't work at this point that I have a better overview?
With my gateway just status is ok control NOK. With a new gateway it's ok for control and status for type switch. For dimmer not work : [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 80] ( knx2 ) [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/3/2"] {"value":true} [SynTexKNX] [UPDATE] HomeKit state of [Spots] is now [value: true, brightness: 81] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Porte Sectionnelle] is [false] ( knx4 ) [SynTexKNX] [READ] HomeKit state of [PCC] is [false] ( knx1 ) [SynTexKNX] [READ] HomeKit state of [Spots] is [value: true, brightness: 81] ( knx2 ) [SynTexKNX] [READ] HomeKit state of [Up / Down] is [value: 100, target: 54, state: 0] ( knx3 ) [SynTexKNX] [DEBUG] GET [1/3/2] --> [255] [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/4/2"] {"value":100} [SynTexKNX] [DEBUG] <<< [SynTexKNX] updateState ["1/4/2"] {"value":100} [SynTexKNX] [DEBUG] GET [1/4/2] --> [255] [10/02/2024, 14:39:17] [homebridge-samsungtv-2014] TV is offline: 1 [SynTexKNX] [DEBUG] GET [1/3/2] --> [128] [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["1/4/2"] {"value":50} [SynTexKNX] [DEBUG] <<< [SynTexKNX] updateState ["1/4/2"] {"value":50} [SynTexKNX] [DEBUG] GET [1/4/2] --> [128]
Hi, It's work all with new gateway KNX and v1.03. Not work with beta.
Okay so to be clear :
Hello,
With v1.0.4-B55, I have an error ! Here is the startup log ! Do you have a solution please ? Control = Failing Status = OK
Thank you very much for the work.
9/12/2023, 12:20:27 PM] Registering platform 'homebridge-syntex-knx.SynTexKNX' [9/12/2023, 12:20:27 PM] [homebridge-syntex-knx] Loaded homebridge-syntex-knx v1.0.4-b55 child bridge successfully [9/12/2023, 12:20:27 PM] Loaded 10 cached accessories from cachedAccessories.0E913C56E49E. [SynTexKNX] [INFO] SynTexKNX Web-Server is running at port [3671] ( HTTP ) [SynTexKNX] [READ] HomeKit state of [VR9] is [value: 100, target: 100, state: 2] ( VR9 ) [SynTexKNX] [INFO] [state] of [VR9] is not in the cache storage! ( VR9 ) [SynTexKNX] [READ] HomeKit state of [VR1] is [value: 0, target: 0, state: 2] ( VR1 ) [SynTexKNX] [INFO] [state] of [VR1] is not in the cache storage! ( VR1 ) [SynTexKNX] [READ] HomeKit state of [VR2] is [value: 100, target: 100, state: 2] ( VR2 ) [SynTexKNX] [INFO] [state] of [VR2] is not in the cache storage! ( VR2 ) [SynTexKNX] [READ] HomeKit state of [VR4] is [value: 0, target: 0, state: 2] ( VR4 ) [SynTexKNX] [INFO] [state] of [VR4] is not in the cache storage! ( VR4 ) [SynTexKNX] [READ] HomeKit state of [VR5] is [value: 0, target: 0, state: 2] ( VR5 ) [SynTexKNX] [INFO] [state] of [VR5] is not in the cache storage! ( VR5 ) [SynTexKNX] [READ] HomeKit state of [VR6] is [value: 100, target: 100, state: 2] ( VR6 ) [SynTexKNX] [INFO] [state] of [VR6] is not in the cache storage! ( VR6 ) [SynTexKNX] [READ] HomeKit state of [VR7] is [value: 0, target: 0, state: 2] ( VR7 ) [SynTexKNX] [INFO] [state] of [VR7] is not in the cache storage! ( VR7 ) [SynTexKNX] [READ] HomeKit state of [ECL17] is [value: false, brightness: 100] ( ECL17 ) [SynTexKNX] [INFO] [brightness] of [ECL17] is not in the cache storage! ( ECL17 ) [SynTexKNX] [READ] HomeKit state of [ECL1] is [value: false, brightness: 100] ( ECL1 ) [SynTexKNX] [INFO] [brightness] of [ECL1] is not in the cache storage! ( ECL1 ) [SynTexKNX] [READ] HomeKit state of [Etat portail] is [false] ( Etat portail ) [9/12/2023, 12:20:28 PM] Homebridge v1.6.1 (HAP v0.11.1) (homebridge-syntex-knx) is running on port 56355. [SynTexKNX] [ERROR] [automation.json] could not be read! [Error: ENOENT: no such file or directory, open '/var/homebridge/SynTex/automation/automation.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/homebridge/SynTex/automation/automation.json' } [SynTexKNX] [SUCCESS] KNX IP Gateway connected!