Controlling the Neuron Pi without API
-
Is it possible to control the NeuronPi without the API. I would like to build a custom software for my NeuronPi, so can running a python file be able to control the DI and Relay of the NeuronPi? I have a Neuron L203 model. How do I control the DI and Relay without the use of the API ?
Thanks
-
@HarishKumar That is the point of the API to allow you to controll the IOs of with a simple python script so you do not need to write the low level programs... But if you do not want to use websockets or http, you can use the TCP Modbus.
Evok: https://github.com/UniPiTechnology/evok#testing-latest-git-versions
TCP Modbus (already included in evok): https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay