Websocket: Add ambient values (temperature, humidity, pressure)
Expected Behavior
Would be great, if we could feed via Websocket as well all ambient data (temperature, humidity, pressure).
Actual Behavior
WS can handle from my understanding only temperatures. ET and BT by default (Standard channel), Ambient temperature can be put to Channel 3 - then added as a source in the roast properties (via update button the average of the ambient temperature will be put in the Ambient temperature field). Humidity and Airpressure cannot be transferred from my understanding, yet.
Steps to Reproduce the Problem
Enhancement request.
Specifications
- Artisan Version: 2.4.4
- Artisan Build (number in brackets shown in the about box): (97e6dec)
- Platform (Mac/Windows/Linux + OS version): Mac
- Connected devices or roasting machine: Own developed roaster electronic.
Please attach your current Artisan settings file (as exported via menu Help >> Save Settings as *.aset) file. Please attach any relevant Artisan *.alog profiles.
Note that you need either add a .txt extension or zip the files before uploading. Otherwise you will receive a "Not a supported file type" error on uploading.
Checking the source code for the Roast Properties dialog, It calls a function on line 4055, which attempts to update temp, pressure, and humidity. However, The pressure and humidity don't appear to be fully implemented.
We need data selectors for the other two fields, and to process all three on click. Actually reading the data is easy in the websockets pane of the Ports Configuration dialog.
in 3.1.5 version, the update based on defined temerature field works. I retrieve if from Modbus. there are pressure and humidify as well. we just need that there is 2 other field selections and that the update button to push the 3 values into the field. it also happen to populate automatically after the roast so there is probably 2 places to update the code in this new version.
Added. See menu Config >> Devices, Ambient tab. Change is commited and will be available with the next Continuous Builds and will be part of the next official release. Hope you find time to test this somewhat and report back.
Thanks for the implemention, I´ve tried on version 3.2.1 and works fine. I built an ESP32 with BMP280 and DHT11 sensors using modbus TCP protocol via wi-fi. My next step is include a scale using ESP32.