hutscape / cactus

🌵 Indoor WiFi-connected temperature and humidity sensor 🍶
https://hutscape.com/cactus/
MIT License
7 stars 2 forks source link

Cannot post to IFTTT if the new event name is smaller than the previous one #12

Closed sayanee closed 4 years ago

sayanee commented 4 years ago

Current situation

URL: /trigger/cactus_2.lues/with/key/{IFTTT_KEY}

The previous event name was cactus_values. Then new event name was set to be cactus_2.

Screenshot_2019-12-11_15_17_46

Desired situation

URL: /trigger/cactus_2/with/key/{IFTTT_KEY}

Proposed solution

Use EEPROM clear before writing the new event name.