bitfocus / companion-module-requests

Repository for tracking module requests
98 stars 11 forks source link

ADAM 6060 support #1394

Open thekystig opened 7 months ago

thekystig commented 7 months ago

Hey all! Companion already supports the Sain Smart relay that I've been using for a while, but I'm looking to upgrade to ADAM-6060 from Advantech, and I was just wondering if you all thought that it would work the same, or if there would need to be a new profile for it in companion. Thanks!

simon-sabo commented 7 months ago

I'm also looking for support on the 6060 and 6066 relays

thekystig commented 7 months ago

I have it fully functional currently by sending it strings with a generic udp in companion. If you all would like my commands I'd be happy to upload them.

NotGeo15 commented 4 weeks ago

Hey @thekystig would you mind uploading your commands? I'd greatly appreciate it!

thekystig commented 4 weeks ago
Screenshot 2024-02-20 at 3 31 59 PM

This should get you most of the way, let me know if you need anything else! I can send a screenshot of our button config if that helps. I don't remember what article I screenshotted this from it's been so long. @NotGeo15

NotGeo15 commented 4 weeks ago

Really appreciate it @thekystig . Do you have anything setup in bitfocus to "listen" to the state of an ADAM Relay channel/output, and complete an action if the state is changed?

thekystig commented 4 weeks ago

@NotGeo15 I think we're just sending a "old Mac" command as a state trigger, we don't currently have any feedbacks set up for the state of the contacts.

NotGeo15 commented 3 weeks ago

@thekystig Ahh I see. Could you send your button configs? I'm interested to see how you got that command working in BitFocus.

Do you know if there's anyway to have BitFocus run a button if a state it updated on a relay?

thekystig commented 3 weeks ago
Screenshot 2024-09-04 at 6 56 39 PM Screenshot 2024-09-04 at 6 57 23 PM

@NotGeo15 To my knowledge no, but that would be possible if the device was explicitly supported. We're essentially using companion to send ip strings over the network "dumb"