Shape of Address field

James Sentman james at sentman.com
Fri Oct 25 15:11:02 EDT 2019


Are you using a DIY interface? If so, and all the requests are in the apple script in XTension and not down a port anywhere then you don’t even have to enable the interface. All the scripts will continue to run without the interface enabled, it just won’t be trying to send any commands down a serial port which is where you’re hitting those errors.

The best solution would be to wrap it into a “real” plugin using the new API. I’ve done several of those for folks doing way custom stuff now. Let me know more about how you’re actually working this out off the list and we’ll figure out how best to make it happen.



> On Oct 23, 2019, at 12:43 PM, ard jonker <ard.jonker at xs4all.nl> wrote:
> 
> I'm running relays off i2c as you might know. 
> There are multiple rpis with i2c, multiple boards on a rpi and of course, multiple relays on a board.
> In generic scripts I would like to fetch the 'address' of a port.
> Would it be possible to have the Address field used for this, or do I have to use the description?
> I'm thinking formats like 10.0.0.10:1:5 for IP 10, board 1 port 5.
> Currently I read in the log 
> 	Address1 not set, default to 128
> if I enter 245:6 in the Address field.

Thanks,
 James


James Sentman                       http://www.PlanetaryGear.org		http://MacHomeAutomation.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20191025/8f595632/attachment.html>


More information about the XTensionList mailing list