Woutrrr / Omnik-Data-Logger

Data logger for Omnik Solar Inverters
GNU General Public License v3.0
40 stars 42 forks source link

getFAC 1,2,3 #7

Closed micromys closed 11 years ago

micromys commented 11 years ago

Your routine InverterMsg.py overlaps other data. i.e. getFAC(2) is equal to getPAC(1) and getFac(3) is equal to getPAC(2), etc. The datastream received from my inverter returns only one FAC value (pos 57, 2 bytes)

Woutrrr commented 11 years ago

I checked it out, but I can't see what is wrong.

getFAC 1,2,3 reads from 57, 61, 65 and getPAC 1, 2, 3 reads from 59, 63, 67 so I don't see any overlap.

Could you please explain some more?

micromys commented 11 years ago

My fault, I mis-interpreted the getFAC/getPAC function.

RoelBrands commented 10 years ago

Wouter,

Ben zeer ginteresseerd in je project, ik heb ook een omniksol die verder zou willen monitoren. Heb ook een NAS, ik heb je project gedownload en een Github gestart, maar nu weet ik even niet hoedat ik nu verder moet? Een PVoutput account heb ik ook al. Hoe en waar op de NAS (met Phyton) moet je Omnik-Data-Logger nu werkend krijgen?

Met dank, Roel (RoelBrands@Home.nl)

marcovansteen commented 10 years ago

Hi Roel, You can place the script almost anywhere you like, for example under /home/ . You can first run "python InverterMsg.py" from that directory, while the sun is shining, to check if python and the communication with the inverter work. Best regards, Marco

RoelBrands commented 10 years ago

Hi Marco,

Thanks for your help, appreciate it very much.

I’m not such a ”program writer”, I will start with this first direction.

I might come back for some more.

At the link below you can see my solar power production.

http://www.omnikportal.com/Terminal/TerminalMain.aspx?pid=10317

Kind regards, Roel

From: Marco [mailto:notifications@github.com] Sent: Friday, October 18, 2013 12:04 To: Woutrrr/Omnik-Data-Logger Cc: RoelBrands Subject: Re: [Omnik-Data-Logger] getFAC 1,2,3 (#7)

Hi Roel, You can place the script almost anywhere you like, for example under /home/ . You can first run "python InverterMsg.py" from that directory, while the sun is shining, to check if python and the communication with the inverter work. Best regards, Marco

— Reply to this email directly or view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/7#issuecomment-26584562 . https://github.com/notifications/beacon/Sy4YuApL8vD26w3HruXjMGIFCdQ2LQBbo1KM6-6I6avybO_Z_knHib7Pue_-UP9e.gif

RoelBrands commented 10 years ago

Hi Marco,

Places all the scripts under “Home” as you said and did run (when convertor active) the “Python InverterMsg.py” in that dir, but did not get any response?
(I also changed the IP en the wifi_sn in the config.cfg)

What do I do wrong?

By the way, I do have a wifi_ns with 601….. ??

Thanks, Roel

From: Marco [mailto:notifications@github.com] Sent: Friday, October 18, 2013 12:04 To: Woutrrr/Omnik-Data-Logger Cc: RoelBrands Subject: Re: [Omnik-Data-Logger] getFAC 1,2,3 (#7)

Hi Roel, You can place the script almost anywhere you like, for example under /home/ . You can first run "python InverterMsg.py" from that directory, while the sun is shining, to check if python and the communication with the inverter work. Best regards, Marco

— Reply to this email directly or view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/7#issuecomment-26584562 . https://github.com/notifications/beacon/Sy4YuApL8vD26w3HruXjMGIFCdQ2LQBbo1KM6-6I6avybO_Z_knHib7Pue_-UP9e.gif

micromys commented 10 years ago

S/N 601...... Are not supporting port 8899

On 19 okt. 2013, at 10:38, RoelBrands notifications@github.com wrote:

Hi Marco,

Places all the scripts under “Home” as you said and did run (when convertor active) the “Python InverterMsg.py” in that dir, but did not get any response? (I also changed the IP en the wifi_sn in the config.cfg)

What do I do wrong?

By the way, I do have a wifi_ns with 601….. ??

Thanks, Roel

From: Marco [mailto:notifications@github.com] Sent: Friday, October 18, 2013 12:04 To: Woutrrr/Omnik-Data-Logger Cc: RoelBrands Subject: Re: [Omnik-Data-Logger] getFAC 1,2,3 (#7)

Hi Roel, You can place the script almost anywhere you like, for example under /home/ . You can first run "python InverterMsg.py" from that directory, while the sun is shining, to check if python and the communication with the inverter work. Best regards, Marco

— Reply to this email directly or view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/7#issuecomment-26584562 . https://github.com/notifications/beacon/Sy4YuApL8vD26w3HruXjMGIFCdQ2LQBbo1KM6-6I6avybO_Z_knHib7Pue_-UP9e.gif — Reply to this email directly or view it on GitHub.

RoelBrands commented 10 years ago

Hi Marco,

Yes , I saw already that no socket could be opened on port 8899.

So which other port should I use in my case ?

Thanks very much, Roel

From: micromys [mailto:notifications@github.com] Sent: Saturday, October 19, 2013 10:52 To: Woutrrr/Omnik-Data-Logger Cc: RoelBrands Subject: Re: [Omnik-Data-Logger] getFAC 1,2,3 (#7)

S/N 601...... Are not supporting port 8899

On 19 okt. 2013, at 10:38, RoelBrands notifications@github.com wrote:

Hi Marco,

Places all the scripts under “Home” as you said and did run (when convertor active) the “Python InverterMsg.py” in that dir, but did not get any response? (I also changed the IP en the wifi_sn in the config.cfg)

What do I do wrong?

By the way, I do have a wifi_ns with 601….. ??

Thanks, Roel

From: Marco [mailto:notifications@github.com] Sent: Friday, October 18, 2013 12:04 To: Woutrrr/Omnik-Data-Logger Cc: RoelBrands Subject: Re: [Omnik-Data-Logger] getFAC 1,2,3 (#7)

Hi Roel, You can place the script almost anywhere you like, for example under /home/ . You can first run "python InverterMsg.py" from that directory, while the sun is shining, to check if python and the communication with the inverter work. Best regards, Marco

— Reply to this email directly or view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/7#issuecomment-26584562 . https://github.com/notifications/beacon/Sy4YuApL8vD26w3HruXjMGIFCdQ2LQBbo1KM6-6I6avybO_Z_knHib7Pue_-UP9e.gif — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/Woutrrr/Omnik-Data-Logger/issues/7#issuecomment-26646286 . https://github.com/notifications/beacon/Sy4YuApL8vD26w3HruXjMGIFCdQ2LQBbo1KM6-6I6avybO_Z_knHib7Pue_-UP9e.gif

Woutrrr commented 10 years ago

Hi Roel,

As far a I know wifi modules with a serial number starting with 601 don't support retrieving the data directly. You can verify this if you have a smartphone. Install the omnik app and try the manual mode. This script uses the same method as the manual mode in the app, so if that isn't working unfortunately this script will not work as well.

Wouter