hi,i just received my order and i am trying to configure this relays over mac osx, i failed! any tips please and is there any other documentation please ?
JaneYu 2016-03-07 15:55:14 8 Views24 Replies hi,
i just received my order and i am trying to configure this relays over mac osx, i failed! any tips please and is there any other documentation please ?
PoE doesn't seem to be working on my Netgear GS108PP, which is a pity. I was hoping a bit wider compatibility from this, or at least a more comprehensive list of compatible switches.
Is there any way of making this work? Firmware upgrades? Chip replacement? I'm quite handy with a soldering iron if required, but it would be great to have pointers on exactly WHAT prevents it from working on these switches.
Thanks
JaneYu Is there some way to save the running relay status (on-off) and reload these after each reboot?
JaneYu Ok I figured out how to control this with a Raspberry Pi and raspbian. I installed socket:sudo apt-get install socket
Then ran this python script to trigger the relay:import socket
HOST = '192.168.1.10' # IP address of Relay Controller
PORT = 2000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST,PORT))
#Lets loop awaiting for your input
while True:
command = raw_input('Enter your command: ')
s.send(command)
reply = s.recv(1024)
if reply == 'Terminate':
break
print reply
In the terminal I can then use different commands to turn on and off relays, such as:{"relay1":"on"}\r\n
JaneYu We bought seven of this and two of them has the same mac address so my router is confused and we cannot access one of the device. How to fix mac address conflict?
JaneYu Please contact [email protected] regarding your issue. Also, please provide the seven mac addressed you've received so that we could make a fit.
https://github.com/Robert-M... This is the firmware of DFR0289, please check if this one could help you.
JaneYu Hi,
Thanks for this. However, this appears to be a binary dump and I'm looking for source code. Could you please share this? Thanks in advance.
It is Arduino connected to ESP-01 via AT commands. DFRobot Support, can I wrote own firmware and flash to used STM controller?
JaneYu It is possible and it is easy. 2 years ago I wrote simple relay manager running in Arduino with HTTP API interface: https://github.com/dzwiedzi... to turn on I send GET to http://deviceip/?cmd=1 for turn on and cmd=0 for turn off.
JaneYu JSON works fine on ethernet. A basic telnet command is enough to do that.
JaneYu Hello, I need to know if the relay status after startup/reboot is all relays in "normal" position or if it keeps the "last" position before power off.
Thank you in advance
JaneYu Can you please identify the on board microcontroller? i.e. which STM32 part?
JaneYu Sorry, I am afraid a little hard since STM32 should be inside the module.
I'm afraid, the firmware is not open, but the device API has opened to the public, you can check the wiki: USB/RS485 and JSON Communication protocol, it will be helpful for IOT connection
JaneYu HI, the JSON command has been posted on the wiki. I'm sorry, there is no example about it.
JaneYu Hi, it support USB and Ethernet two ports, you can connect USB or network cable to the module, and control it with command, please check it wiki page for the usage.
JaneYu Hello
I read the JSON document, and from what I see we can chang the current state of the relay, but i think we cannot set them to work on a timer, can we ? i.e. on for 5 minutes, off for 5 minutes, without having to communicate with it every time
JaneYu Yes, it only supports basic operation, Would you mind telling me why do you need timer?
Hi, the PC software only supports windows, Could you change a windows PC? or you can try serial control, https://github.com/nxcosa/R...
JaneYu 

