https://github.com/mdmourao/iotprojectgroup5
Aplicação na cloud que recebe dados dos sensores de baterias e trata e mostra esses dados usando o node-red.
https://github.com/mdmourao/iotprojectgroup5
internet-of-things iot machine-learning mqtt node-red python
Last synced: about 2 months ago
JSON representation
Aplicação na cloud que recebe dados dos sensores de baterias e trata e mostra esses dados usando o node-red.
- Host: GitHub
- URL: https://github.com/mdmourao/iotprojectgroup5
- Owner: mdmourao
- Created: 2022-05-08T13:50:59.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T00:41:00.000Z (about 4 years ago)
- Last Synced: 2025-10-13T06:05:28.809Z (9 months ago)
- Topics: internet-of-things, iot, machine-learning, mqtt, node-red, python
- Language: Jupyter Notebook
- Homepage:
- Size: 35.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Projeto IoT
## Run Cloud
### Node Red
Start virtual machine
Open SSL terminal
Run:
```
node-red
```
IP
```
http://$PUBLIC_IP$:1880/
```
### DB String
DB on the VM
### Start Mosquitto Broker
Start VM mosquitto-broker-iot
Run:
```
mosquitto_sub -t "idc/bat01"
mosquitto_sub -t "idc/bat02"
```
To test if broker is working you can run:
```
mosquitto_pub -m "test" -t "idc"
```
Check the ip of the VM to use on node-red ($IP$:1883)
### Import flow
Import
Select node-red/flow.json
Deploy
## Exercices
1. Both the number of charge and discharge cycles. (DONE)
2. Both the average and standard deviation of the charge and discharge time.
3. Range, average and standard deviation of the battery temperature, separately
when charging and discharging.
4. A chart displaying two lines simultaneously on the same axis, each for a complete
charge/discharge cycle selected by the user. The two cycles will be selected with
reference to two distinct timestamps, hence allowing the visualization of the
battery performance decrease between the two selected timestamps.
Segunda fase:
a. predict the remaining battery available time (when discharging).
b. predict the remaining time until full charge is attained (when charging).
Com:
Additionally, the groups must use the online data set (online_1.json and
online_2.json) to continuously send the battery sensors data from their own local
computer to the cloud-based MQTT broker, similarly as the mobile devices would on
a realistic scenario.