davidnewhall / indigo-8channel-relay

Indigo Plugin for 8 Channel Network Relay Board
MIT License
3 stars 4 forks source link

Run this plugin on other firmware #12

Open Rtg-motoring opened 4 years ago

Rtg-motoring commented 4 years ago

Hi there. Is you plugin running on other Firmware too? or can you make me a Backup from the Firmware of your Module? regards Stefan

icygame commented 4 years ago

I think I have a related issue to the above query: I've just received a new Board that is physically slightly different from the former ones (this is my 4th)...I find the plugin is broken. I can't figure out how to query the software version of the board [?].

I can connect via succesfully via telnet but only get errors returned to the usual commands. Each of the previous boards have UI differences but have had no plugin (or telnet) issues...this board also has 2 additional terminals marked 'A' and 'B' that seem to output 2.5 volts, and includes the 'CE' certification logo.

Rtg-motoring commented 4 years ago

Do you have a Firmware from one of your Devices?

Kevin-Ford commented 3 years ago

seems ver 5.8 boards are the only ones commonly available.... I think telnet is completely broken on this version. I wonder if this can be reworked to use HTTP Get ?

icygame commented 3 years ago

seems ver 5.8 boards are the only ones commonly available.... I think telnet is completely broken on this version. I wonder if this can be reworked to use HTTP Get ?

Its so hard getting useful documentation of the API for the new version that i've personally given up. i see there's even reference to MQTT support on the boards...which would be event better....but no doco [in english] I've been able to locate. A handful of Shelly devices is a good alternative....

davidnewhall commented 3 years ago

Hello! Sorry guys, I honestly haven't looked at this plugin in years. I've had a few requests, but I barely even code in Python anymore and I'm quite rusty. This code isn't too complicated from what I remember, so adding features should be pretty easy.

I'd be happy to transfer this repo over to anyone else willing to maintain it.

For me, this plugin still works on my years-old board. I'm not surprised they've changed things as this board is pretty dang simple overall and had lots of room for improvements in the firmware.

If you know how to pull this firmware off the device, I can do that too and post it somewhere.

Kevin-Ford commented 3 years ago

HI

The current version of the board (5.8) Is quite a bit different and I don’t think the old firmware can be applied due to the hardware changes. It is probably a long shot to

The 5.8 version operates fine (In my testing) using http GET. I was hoping a volunteer could make a version that used the GET commands rather than TCP.

I looked at the code and as I have no python knowledge and limited learning opportunity, there is no way I can re and re the plugin to use GET in the near to mid term.

I was hoping we could find a volunteer to do this conversion… I have 2 version 5.8 boards sitting here (purchased from Ebay sellers that were sure they had 5.2 version boards to offer) so I could send one for plug in testing…

Thanks

On Apr 30, 2021, at 2:13 PM, David Newhall @.***> wrote:

Hello! Sorry guys, I honestly haven't looked at this plugin in years. I've had a few requests, but I barely even code in Python anymore and I'm quite rusty. This code isn't too complicated from what I remember, so adding features should be pretty easy.

I'd be happy to transfer this repo over to anyone else willing to maintain it.

For me, this plugin still works on my years-old board. I'm not surprised they've changed things as this board is pretty dang simple overall and had lots of room for improvements in the firmware.

If you know how to pull this firmware off the device, I can do that too and post it somewhere.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davidnewhall/indigo-8channel-relay/issues/12#issuecomment-830398343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFYP5IYC7SNJ6D74JQOWR3TLMMOVANCNFSM4KQQZY7A.

icygame commented 3 years ago

so have you located docs for the new board / protocol? I haven't even got that far....

Kevin-Ford commented 3 years ago

There is a doc on GET. Its pretty basic. Once I figured that everything was case sensitive I have it working great..

The State has to be parsed for the state of the relays and outputs.

On May 3, 2021, at 9:31 PM, icygame @.***> wrote:

so have you located docs for the new board / protocol? I haven't even got that far....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davidnewhall/indigo-8channel-relay/issues/12#issuecomment-831676205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFYP5N366GQHBRHGX4Q4QDTL52ALANCNFSM4KQQZY7A.

davidnewhall commented 3 years ago

I might be willing to take a whack at this. Can you somehow get me access to that board? Do you have a linux server you can add me to where I can ssh in and send the board commands? Short of that, I suppose you could mail me the second board you have. or I could mail you the second board I have :) With the older firmware...... haha

Kevin-Ford commented 3 years ago

Hi

I can make a linix vm for you if you like…. I have 2 of the v5.8 boards and it would be interested in trading one for the older version….

Let me know the next steps.

On May 4, 2021, at 8:39 AM, David Newhall @.***> wrote:

I might be willing to take a whack at this. Can you somehow get me access to that board? Do you have a linux server you can add me to where I can ssh in and send the board commands? Short of that, I suppose you could mail me the second board you have. or I could mail you the second board I have :) With the older firmware...... haha

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davidnewhall/indigo-8channel-relay/issues/12#issuecomment-832039724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFYP5N7ENFC7VO4O7Y3XFTTMAIMPANCNFSM4KQQZY7A.

icygame commented 3 years ago

There is a doc on GET. Its pretty basic. Once I figured that everything was case sensitive I have it working great.. The State has to be parsed for the state of the relays and outputs.

I guess I meant to ask…can you point me in the direction of the GET doco… I’m not even sure what version my newer board is but testing that may assist..

Kevin-Ford commented 3 years ago

This is the manufacture's site... It is super disorganized and the docs are all in Chinese : http://www.iotzone.cn I found all the docs I found here.

The boards running the 5.0.5/5.0.6 firmware are hardware version 5.7. The boards running 5.8 are hardware version 5.8 .

I see nothing on the UI that indicates what firmware a board is running.