Search found 25 matches

by jeroenst
Tuesday 27 June 2017 8:35
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

Try this: # -*- coding: utf-8 -*- # Python module: ModbusClient class (Client ModBus/TCP) VERSION = '0.1.1' ## ModBus/TCP MODBUS_PORT = 502 ## Modbus mode MODBUS_TCP = 1 MODBUS_RTU = 2 ## Modbus function code # standard READ_COILS = 0x01 READ_DISCRETE_INPUTS = 0x02 READ_HOLDING_REGISTERS = 0x03 READ ...
by jeroenst
Thursday 22 June 2017 15:18
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

devros wrote:Nothing sorry....
its strange
Than the wifi stick is not sending any data to your domoticz computer although in a message earlier you said it was sending data every 5 minutes...
by jeroenst
Wednesday 21 June 2017 20:22
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

Try this: #!/usr/bin/env php <?php // Set the ip and port we will listen on $address = '0.0.0.0'; $port = 502; $max_clients = 1; // Array that will hold client information $clients = Array(); // Create a TCP Stream socket $master_socket = socket_create(AF_INET, SOCK_STREAM, 0); // Bind the socket to ...
by jeroenst
Wednesday 21 June 2017 20:00
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

That's indeed the question, how to decode..

I can create a server which dumps received data in hex, maybe we can discover the modbus rtu protocol in it...
by jeroenst
Wednesday 21 June 2017 18:54
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

Okay, then it is not easy for me to write a plugin because the lineaire doesn't support it.

Maybe you can buy the rs232 ethernet converter I found?
by jeroenst
Wednesday 21 June 2017 16:23
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

Did you also do a portscan from port 1 to port 65535?

It would be best if we can use the python library...
by jeroenst
Wednesday 21 June 2017 9:56
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

Is it also possible to connect to the wifi module on a specific port to communicate with modbus? The python modbus module is not meant for sending out commands, but for receiving commands afaik... If it is possible to connect to the wifi stick try this (change the ip and port to match your wifi ...
by jeroenst
Tuesday 20 June 2017 21:46
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Re: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

Maybe the wifistick is waiting for some commands.

There is a tcp modbus library for python...

https://pypi.python.org/pypi/pyModbusTCP/0.1.1

It can also act as modbus server :-)

http://pythonhosted.org/pyModbusTCP/exa ... erver.html
by jeroenst
Tuesday 20 June 2017 12:42
Forum: Python
Topic: Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)
Replies: 28
Views: 14515

Python Plugin: Solar Inverter via TCP Shine v2 protocol (Growatt, Gaia)

This is the topic voor developping a plugin to communicate with the wifistick of GAIA grid tie Inverters and with growatt inverters via a tcp rs232 converter. http://www.ebay.com/itm/2000W-Solar-on-Grid-Tie-Inverter-with-Limiter-Battery-Model-for-MPPT-PV-System-/201781417655?var=&hash=item2efb1c16b7 ...
by jeroenst
Tuesday 20 June 2017 12:05
Forum: Python
Topic: Python Plugin: Growatt Solar Inverter via USB RS232 or RS485 Modbus
Replies: 10
Views: 9535

Re: Python Plugin: Growatt Solar Inverter via USB RS485 Modbus

Specify the adres and port ncat is listening on in de admin webpage of the wifiplug but if if you want to continue use of shinemonitor grabbing the json file is a better idea.
by jeroenst
Tuesday 20 June 2017 11:39
Forum: Python
Topic: Python Plugin: Growatt Solar Inverter via USB RS232 or RS485 Modbus
Replies: 10
Views: 9535

Re: Python Plugin: Growatt Solar Inverter via USB RS485 Modbus

@devros

ncat -e /bin/cat -k -t -l <portnumber>
by jeroenst
Tuesday 20 June 2017 9:32
Forum: Suggestions
Topic: Horizontal bargauge
Replies: 1
Views: 667

Re: Horizontal bargauge

I want to use these icons in the growatt module but how can I load and specify this icons in python?

The documentation is not clear on this..
by jeroenst
Tuesday 20 June 2017 9:30
Forum: Suggestions
Topic: Growatt integration
Replies: 6
Views: 6106

Re: Growatt integration

I''m working on a Growatt plugin on:

http://www.domoticz.com/forum/viewtopic ... 70#p138670
by jeroenst
Tuesday 20 June 2017 7:58
Forum: Design, usability and languages
Topic: New white theme
Replies: 8
Views: 3802

Re: New white theme

@EdKo66

Can you please provide the pagenames where this happens?

And/or even better provide me a url of your domoticz where I can look to debug the layout via dm?
by jeroenst
Tuesday 20 June 2017 7:52
Forum: Python
Topic: Request for new TypeNames
Replies: 3
Views: 946

Re: Request for new TypeNames

@jeroenst, TypeNames are just short cut for existing functionality. If you want them added then you will need to supply the Type and SubType combination that will work. EDIT: For Watts I believe you can use the TypeName "Usage" This is a little odd, because with a solar inverter the watts are not ...
by jeroenst
Tuesday 20 June 2017 7:45
Forum: Python
Topic: Python Plugin: Growatt Solar Inverter via USB RS232 or RS485 Modbus
Replies: 10
Views: 9535

Re: Python Plugin: Growatt Solar Inverter via USB Modbus

hello, i have something similar solar inverter (http://www.ebay.com/itm/2000W-Solar-on-Grid-Tie-Inverter-with-Limiter-Battery-Model-for-MPPT-PV-System-/201781417655?var=&hash=item2efb1c16b7:m:m3OZt8FEeu-MCF5Ow8R3kEw) with wifi-plug-usb (conected to this portal http://www.shinemonitor.com/main.html ...
by jeroenst
Tuesday 20 June 2017 7:41
Forum: Python
Topic: Python Plugin: Growatt Solar Inverter via USB RS232 or RS485 Modbus
Replies: 10
Views: 9535

Re: Python Plugin: Growatt Solar Inverter via USB Modbus

Dnpwwo wrote:@jeroenst,
Try renaming it to see if the extra field goes away.
You're right, I renamed it and the extra field is gone. Shouldn't this be changed in Domoticz?
by jeroenst
Monday 19 June 2017 20:31
Forum: Suggestions
Topic: Horizontal bargauge
Replies: 1
Views: 667

Horizontal bargauge

It would be nice to have a bar graph on the items like this:

I attached the Icon files...