If you get this error:
[WebServer] Depricated RType (graph) for API request. Please use correct API Command!
I solved is by replacing:
local sQuery = 'curl "http://127.0.0.1:8080/json.htm?type=graph&sensor=temp&idx='..tostring(uitlees_idx)..'&range=day"'
with
local sQuery = 'curl "http://127 ...
Search found 1 match
Search found 1 match
• Page 1 of 1
- by Hink
- Tuesday 24 September 2024 12:48
- Forum: LUA
- Topic: Average outside temperature with Lua
- Replies: 23
- Views: 8202
Search found 1 match
• Page 1 of 1
Jump to
- General
- ↳ News & Updates
- ↳ General Discussion
- ↳ Bugs and Problems
- ↳ Other questions and discussions
- ↳ Suggestions
- Domoticz
- ↳ Installation, Compiling, Permissions, Security and Starting
- ↳ Cameras
- ↳ Switches and Scenes
- ↳ Utility
- ↳ Temperature and Weather
- ↳ Heating/cooling
- ↳ OpenTherm gateway
- ↳ Evohome
- ↳ Third party and supplementary tools
- ↳ Android
- ↳ iOS
- ↳ Windows
- ↳ Kodi (XBMC)
- ↳ Domoboard
- ↳ Dashticz
- ↳ Bugs
- ↳ Feature requests
- ↳ How-tos
- ↳ Node-RED
- ↳ Design, usability and languages
- ↳ Language / Translation
- Scripting & automation
- ↳ dzVents
- ↳ Bugs
- ↳ Examples & Solutions
- ↳ LUA
- ↳ Bash / PowerShell / Batch etc.
- ↳ Blockly
- ↳ Python
- ↳ PHP and all others
- Hardware and Protocols
- ↳ MQTT Auto Discovery
- ↳ Z-Wave
- ↳ Device information
- ↳ Zigbee
- ↳ Speech & Voice Systems
- ↳ 433 & 868 transceiver
- ↳ RFLink Transceiver
- ↳ Rfxcom Transceiver
- ↳ DIY Hardware and Protocols
- ↳ ESP8266
- ↳ PiFace
- ↳ Raspberry Pi GPIO ( WiringPi )
- ↳ MySensors
- ↳ 1-wire
- ↳ Others
- Community
- ↳ Sales, Deals and Bargains..
- ↳ Deals & bargains
- ↳ Forum feedback
- ↳ Show your projects
- ↳ Projects on other sites