murphyslemon / Raspberry_Pi_Server

International Sensor Development Project: This project is a voting system that uses a raspberry pi server and multiple voting devices. The system is easy, secure, scalable, and supports anonymous and registered voting. This repository focuses on the Raspberry Pi server.
0 stars 3 forks source link

resynchronizeESP method #13

Open MagnusLii opened 7 months ago

MagnusLii commented 7 months ago

ESP Resynchronization Method

Goal

This method, implemented as a class function, facilitates the transmission of all necessary information required to resynchronize an ESP to a specified MQTT topic. It constructs a JSON string encapsulating vote details.

JSON string

{  
"VoteTitle":"title of vote",  
"VoteType":"private/public",
"VoteStatus":"started/ended"  
}

Arguments

Function Name: resynchronizeESP