Search found 6 matches

by flexx
Wednesday 22 April 2020 22:18
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 99897

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters


After some failed attempts to get data sent to "Server B" on my Ginlong inverter, I've resorted to a very simple PHP script that runs on a Raspberry Pi (same one as Domoticz runs on). It's executed via cron every minute. It takes data from the local status page on the logger, and sends that to a ...
by flexx
Wednesday 22 April 2020 14:58
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 185062

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

i figured it out (with some help form my nice colleagues)

6) renamed the file from coapcmd-linux-armv7 to coapcmd
7) addedd execute rights (777)
8) sudo .bin/coapcmd now provides some output
9) proceed with python3 plugin.py config 192.168.x.y <key>
10) received OK status :)
11) sudo python3 plugin ...
by flexx
Wednesday 22 April 2020 13:26
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 185062

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

thanks again for your help.
I does seem a gnu c compiler is not available on a NAS.

Manual option then:
1) uname-m --> armv71
2) downloaded the file " coapcmd-linux-armv7" for the assets folder (v0.1.2)
3) Used WinSCP to create a bin folder in the "/volume1/@appstore/domoticz/var/plugins/IKEA ...
by flexx
Wednesday 22 April 2020 9:09
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 185062

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

$ export GOPATH=echo `pwd`
$ echo $GOPATH

returns
-sh: export: `/volume1/@appstore/domoticz/var/plugins/IKEA-Tradfri': not a valid identifier

I adjusted this to: (without space between echo and `pwd`)
$ export GOPATH=echo`pwd`
$ echo $GOPATH

then echo $GOPATH gives
echo/volume1/@appstore ...
by flexx
Tuesday 21 April 2020 21:48
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 185062

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

thnx for the fast answer moroen,
folder rights I already checked and even modified to allow everything (chmod 777)

However the first test failed already!
$ sudo ./bin/coapcmd
responds with a command not found.

Most likely that part is not properly installed.
First of all the folder structure on ...
by flexx
Tuesday 21 April 2020 17:24
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 185062

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

i'm struggeling to install the plugin onto my Synology 414 nas.
I believe I followed all steps correctly (after trying several times) but now i'm stuck at step 4, configuring the trafri coap.

The command sudo python3 plugin.py config 192.168.x.y ************** generates the following output ...