Closed UffeBj closed 1 year ago
Yes, it does. You're the first to report this. I wonder if this is related to the environment you're installing this in (Synology). I know of successful users on macOS and Raspberry Pi.
Ok, thanks a lot. I will dig some more and see where I get.
modbus-serial
: https://www.npmjs.com/package/homebridge-sma-home-manager?activeTab=dependenciesmodbus-serial
depends on serialport
: https://www.npmjs.com/package/modbus-serial?activeTab=dependenciesThat is the package that is failing to install.
It looks like there's quite a lot of installation problems for the serialport
package, see https://github.com/serialport/node-serialport/issues?q=stack+Error%3A+command+failed.
Please open an issue there — not much I can do 😢
Good luck!
Thanks a lot! Will give it a go next week.
Describe Your Problem: I am trying to install the plugin on a Synology NAS. I have activated Modbus on the SMA Inverter,Sunny boy 6.0 1AV-41, with the default Port 502, Unit ID 3 and the Modbus SunSpec profile version "Standard (recommended)". On the device configuration they talk about Modbus TCP or UDP settings (I have no Modbus knowledge). The error when trying to install refer to "modus-serial". Is there a fundamental miss here from my side trying to get it to work using Modbus TCP?
I have used the SMA's recommended tool for testing modbus connection and it works. https://www.sma-sunny.com/en/how-to-test-the-connection-to-your-sma-inverter/
Paste of Logs:
Here is the end of the log "npm ERR! /var/packages/homebridge/home/.npm/_logs/2023-04-18T07_25_02_856Z-debug-0.log" as referred to when trying to install the plugin.
Config:
Screenshots:
Inverter:
Homebridge Environment: