IP controlled relay board - feedback

Forum to ask for any help
Post Reply
Peter M
Posts: 15
Joined: Fri Sep 15, 2017 8:49 am

IP controlled relay board - feedback

Post by Peter M » Tue Jun 18, 2019 8:57 am

I've built a remote controlled power supply box based around an eight channel IP controlled relay board that I got from DFRobot -

https://www.dfrobot.com/product-503.html

The board reports the status of all the relays using a single byte of feedback, with one bit for each of the eight channels.

Using Hercules to look at the feedback gives me a single character that is the ASCII equivalent to the returned byte. I've checked the ASCII / binary conversions and it's sending correct feedback.

My problem is that I have no idea how I might be able to convert the byte to binary and look at each bit.

Any ideas ?

Cheers,
Peter

Peter M
Posts: 15
Joined: Fri Sep 15, 2017 8:49 am

Re: IP controlled relay board - feedback

Post by Peter M » Fri Jul 12, 2019 8:46 am

So it eventually became clear that Demopad couldn't solve this problem by itself. Using EventGhost and a bit of python code did the trick.

Cheers,
Peter

Post Reply