Commit Graph
36 Commits
Author SHA1 Message Date
Charles Crossan 1b71a0f436 refactor ENV to single multi-inheritance class with cleaner user preferences
Fix merge issues

don't log when drawing blank frames

remove useless logging

re-comment stuff

fix comment

unused var
2021-03-03 20:30:20 -05:00
Charles Crossan 2af9e1431e Improvements to EnvironmentalMeasurementPlugin
Instead of holding onto only the last measurement, hold onto a copy of the last MeshPacket containing a measurement

This will make it easier to display the last time received

make DHT sensor reads more reliable

user preference for Farenheit vs Celsius
2021-03-03 08:23:03 -05:00
Charles CrossanandGitHub bfdad7d4d5 Merge branch 'master' into AddEnvironmentMessage 2021-02-23 20:23:13 -05:00
Charles Crossan ec41c11e58 initialize the last measurement values to something obviously "unread" 2021-02-22 21:00:41 -05:00
Charles Crossan 3a91da5e52 remove UI render comment log spam 2021-02-22 21:00:05 -05:00
Charles Crossan 690b843678 add missing newline 2021-02-22 20:52:10 -05:00
Charles Crossan 3f1ada29ac support independently enabling/disabling the on-device screen and actual measurement 2021-02-22 20:47:35 -05:00
Charles Crossan 0c9df6ccbd disable the app by default 2021-02-22 20:33:42 -05:00
Charles Crossan b62b01fe7c consume the additional details from OLEDDisplayUiState to handle transitions to/from plugin screens better
It's still a bit janky, but should work

https://github.com/meshtastic/esp8266-oled-ssd1306/pull/2
2021-02-22 20:18:36 -05:00
Charles Crossan efaf669479 update Environmental Measurement plugin to use radio config prefs 2021-02-22 19:50:51 -05:00
Charles Crossan 6dffaae72e fix typo 2021-02-21 16:49:35 -05:00
Charles Crossan ae76ce4024 Implement interface for plugins to have custom UI Frames 2021-02-21 16:46:46 -05:00
Charles Crossan 087945d7cb udpate protobufs 2021-02-21 12:05:23 -05:00
Charles Crossan fc72d16bcb Disable the plugin by default 2021-02-21 11:48:32 -05:00
Charles Crossan 5817afd4ac fix port number for ENVIRONMENTAL_MEASUREMENT_APP 2021-02-21 11:42:03 -05:00
Charles Crossan 765a6fcc62 Display received measurements in logs and on screen 2021-02-21 11:39:45 -05:00
Charles Crossan 0b20c46b79 standardize log line beginnings 2021-02-21 11:39:20 -05:00
Charles Crossan 27f74382aa Fix CI build for non-esp32 devices 2021-02-21 11:09:58 -05:00
Charles Crossan 77961e8e93 Un-derp testing details 2021-02-21 11:00:58 -05:00
Charles Crossan 3c564796e0 2021-02-21 10:55:33 -05:00
Charles Crossan a2bea87332 Fix exception decoder output 2021-02-19 19:24:18 -05:00
Charles Crossan 05d237ee84 add handleSetChannel 2021-02-15 21:02:30 -05:00
Charles Crossan 95c502c658 fix typo 2021-01-11 20:30:02 -05:00
Charles Crossan 0f573901d5 didn't need power.h 2021-01-11 20:28:09 -05:00
Charles Crossan fdc9bf5783 add power statistics for #635 2021-01-11 20:25:02 -05:00
Charles Crossan 8e0c224813 remove extra whitespace 2020-12-22 17:47:24 -05:00
Charles Crossan 5a96dc0083 move json delete endpoint 2020-12-22 17:44:40 -05:00
Charles Crossan 47ccfb6106 add HTTP/Delete method handler for SPIFFS 2020-12-21 21:10:53 -05:00
Charles Crossan 5c70f36aa5 add mime types for ico and svg 2020-12-21 17:42:55 -05:00
Charles Crossan 7f59e76c72 fix formatting 2020-12-20 21:47:46 -05:00
Charles Crossan dcb9125b32 remove unused parser 2020-12-20 21:47:23 -05:00
Charles Crossan 2743b9d310 use POST URL parameters; fix response status 2020-12-20 21:44:51 -05:00
Charles Crossan 2f779bfd37 improve blink; LED or SCREEN as POST Parameter 2020-12-20 18:24:48 -05:00
Charles Crossan db2193b526 implement screen blink 2020-12-20 17:45:45 -05:00
Charles Crossan 7205e9a5b4 adjust LED timings; switch to HTTP/POST 2020-12-20 14:50:13 -05:00
Charles Crossan 49a19e26d5 Only issue ContentType header once; correctly. 2020-11-13 22:07:52 -05:00