User Tools

Site Tools


projects:farmrobot:batteriemanagement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
projects:farmrobot:batteriemanagement [2021/03/21 18:52]
jonas [Web Interface to view and graph the data]
projects:farmrobot:batteriemanagement [2021/03/21 19:00]
jonas [Modbus Python and Watson-IoT MQTT publish on Raspberry Pi 4B]
Line 104: Line 104:
  
 ===== Modbus Python and Watson-IoT MQTT publish on Raspberry Pi 4B ===== ===== Modbus Python and Watson-IoT MQTT publish on Raspberry Pi 4B =====
-Using FTDI USB adapter which can be interfaced on /dev/ttyUSB0 +Using FTDI USB adapter which can be interfaced on /dev/ttyUSB0\\ 
 +Adding the current user to the "dialout" user group to access serial interfaces without root permissions:
     sudo adduser pi dialout     sudo adduser pi dialout
-    + 
 +Installing prerequisites:\\
     sudo apt install python3     sudo apt install python3
     wget https://bootstrap.pypa.io/get-pip.py     wget https://bootstrap.pypa.io/get-pip.py
Line 234: Line 235:
  
 ===== Web Interface to view and graph the data ===== ===== Web Interface to view and graph the data =====
 +An easy way to set up a web interface is to host a node-red instance on a server, for example on a stationary Raspberry Pi 4, which can be accesses via network or can be made accessible with port forwarding from the internet.\\
 +
 Setting up a Raspberry Pi 4B with docker and docker run portainer. Setting up a Raspberry Pi 4B with docker and docker run portainer.
 Create a new Node-Red Stack with a compose file, which creates a node-red web instance on the device on port 1880. Create a new Node-Red Stack with a compose file, which creates a node-red web instance on the device on port 1880.
projects/farmrobot/batteriemanagement.txt · Last modified: 2021/03/21 19:02 by jonas