Replies: 18 comments 7 replies
|
So, did you download a binary and put it somewhere? |
|
I would clean all leftovers from the failing installation (if there is any) and try it again. I only use HA in a VM for trial and had no issues there when I followed the listed steps from mtrossbach one by one. |
|
I just gave it another try, taking the installation command apart: System:uname -a just detected we're not yet supporting my armv7 system ==> script only checks for "ARCH="armv6"" ????splitting the command:Downloadcurl -L -o /noah-mqtt.tar.gz https://github.com/mtrossbach/noah-mqtt/releases/download/v$\{NOAH_MQTT_VERSION\}/noah-mqtt_$\{NOAH_MQTT_VERSION\}_linux_$\{ARCH\}.tar.gz curl -L -o /noah-mqtt.tar.gz https://github.com/mtrossbach/noah-mqtt/releases/download/v$\{NOAH_MQTT_VERSION\}/noah-mqtt_$\{NOAH_MQTT_VERSION\}_linux_$\{ARCH\}.tar.gz File downloaded:➜ ~ ls -lart /no* Move to /tmp/ folder ... just in case ...v /noah-mqtt.tar.gz /tmp/ Try expanding:tar -xf /tmp/noah-mqtt.tar.gz ==> Downloaded file is invalid |
|
Just had some time to test again, having learned that my OS is amrv7 .... Downloaded the file "noah-mqtt_0.0.24_linux_armv6.tar.gz" into /tmp/ and extracted/tmp tar -xf noah-mqtt_0.0.24_linux_armv6.tar.gz executed:/tmp GROWATT_USERNAME=xxxxxxxx GROWATT_PASSWORD=xxxxxxxxxx MQTT_HOST=core-mosquitto MQTT_PORT=1883 ./noah-mqtt that at least shows some result in mqtt logs:2025-01-08 09:59:20: Saving in-memory database to /data//mosquitto.db. |
|
Yes, just wanted to reply that armv7 is 32bit! On the unauthorized thing: I had to make "noah-mqtt" executable in my setup (FHEM): Though, HA was working out of the box. |
|
But: I can see in the logs that obviosly growatt blocks the requests: "Sorry, your request has been blocked as it may cause potential threats to the server's security." Log: <span id="block_url_tips"><strong id="url"> <span id="block_time_tips"><strong id="time"> <span id="block_traceid_tips"><strong id="traceid"> <div class="main"><div class="container"><img id="block_image"><script>function getRenderData(){var e=document.getElementById("renderData");return JSON.parse(e.innerHTML)}function convertTimestampToString(e){e=parseInt(e,10),e=new Date(e);return e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)}var en_tips={block_message:"Sorry, your request has been blocked as it may cause potential threats to the server's security.",block_url_tips:"Current URL: ",block_time_tips:"Request Time: ",block_traceid_tips:"Your Request ID is: "},cn_tips={block_message:"很抱歉,由于您访问的URL有可能对网站造成安全威胁,您的访问被阻断。",block_url_tips:"当前网址: ",block_time_tips:"请求时间: ",block_traceid_tips:"您的请求ID是: "};window.onload=function(){var t=getRenderData(),n="cn";try{navigator.language.startsWith("zh")||(n="en")}catch(e){t.lang&&(n=t.lang)}if(t){var e,i=cn_tips,r=document.getElementById("block_image");for(e in"en"===n?(i=en_tips,r.src="https://g.alicdn.com/sd-base/static/1.0.5/image/405.png\",r.id=\"en_block\"):r.src=\"https://errors.aliyun.com/images/TB15QGaHpXXXXXOaXXXXia39XXX-660-117.png\",i)document.getElementById(e).innerText=i[e];n=t.traceid,r=n.slice(8,21);document.getElementById(\"traceid\").innerText=n,document.getElementById(\"url\").innerText=location.href.split(\"?\")[0],document.getElementById(\"time\").innerText=convertTimestampToString(r)}}</script><textarea id="renderData" style="display:none">{"traceid":"ac11000117363320137613695e0090","lang":"en"}</textarea>","device":"0PVXXXXXXXXXX"}
|
|
I am using the same credentials as in the ShineApp. |
|
Just seeing that there is a general connection issue: #51. Maybe it is related to you as well - but try a different server/IP address first. As I only want to get the general trend of data, my setup for reading runs every 30 minutes - without issue during the last days. |
|
Again many thanks for your kind support. /tmp POLLING_INTERVAL=200 PARAMETER_POLLING_INTERVAL=200 GROWATT_USERNAME=NNNNNNNNN GROWATT_PASSWORD=PPPPPPPPPP MQTT_USERNAME=noah-mqtt MQTT_PASSWORD=pwnoah-mqtt MQTT_HOST=homeassistant.speedport.ip MQTT_PORT=1883 /tmp/noah-mqtt |
|
But after a while the process panics again: {"time":"2025-01-08T14:35:11.475168575+01:00","level":"ERROR","msg":"PANIC ... waiting 15s to exit ..."} <a target="_blank"id="report"href="javascript:;"data-spm-click="gostr=/waf.123.123;locaid=d001;"style="display:none">误报反馈 goroutine 15 [running]: |
|
There is a 3rd time-sensitive parameter called "BATTERY_DETAILS_POLLING_INTERVAL". |
|
I've set all three polling parameters to 1800 as suggested. Thanks. |
|
I tried log in server.growatt.com with my credentials using firefox, that worked. Now I can provide another log, I simply added another parameter GROWATT_SERVER_URL=server.growatt.com leaving the rest of the command unchanged: {"time":"2025-01-09T13:34:04.77984292+01:00","level":"INFO","msg":"setting server url","url":"server.growatt.com"} |
|
One more test, I was able to create another user on server.growatt.com and tried this user, same problem: {"time":"2025-01-09T13:48:20.061137363+01:00","level":"INFO","msg":"setting server url","url":"server.growatt.com"} |
|
To rule out a connection issue itself I would take a binary fitting whatever other system you have (e.g. Windows, Linux, ...) and try it there without HA. EDIT: |
|
Just an update: if I pass the url parameter there is an error: |




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi there, just started noah integration which failed with:
`The command '/bin/ash -o pipefail -c NOAH_MQTT_VERSION=$(jq --raw-output '.version // empty' config.json) && case "$BUILD_FROM" in "aarch64-base") ARCH="arm64";; "armhf-base") ARCH="armv6";; "amd64-base") ARCH="amd64";; esac && curl -L -o /noah-mqtt.tar.gz https://github.com/mtrossbach/noah-mqtt/releases/download/v${NOAH_MQTT_VERSION}/noah-mqtt_${NOAH_MQTT_VERSION}_linux_${ARCH}.tar.gz && tar -xf /noah-mqtt.tar.gz && rm /noah-mqtt.tar.gz' returned a non-zero code: 1'
System:
Core 2024.12.5
Supervisor 2024.12.0
Operating System 14.1
Frontend 20241127.8
MQTT requirements installed and running.
Any ideas ?
All reactions