PapaLanc
(Grey Lancaster)
May 30, 2022, 12:06am
1
My graph is so “Jumpy” I thought filters sliding window would be the ticket ut I just can’t seem to figure out where to put it properly
filters:
- sliding_window_moving_average:
window_size: 15
send_every: 15
My code
esphome:
name: bbq
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "c7e9d7fe5d929c8a6e9b17767e228bbb"
wifi:
ssid: "xxxx"
password: "xzxzx"
fast_connect: true
manual_ip:
static_ip: 192.168.1.40
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "M2 Fallback Hotspot"
password: "zvswsewOgCwk"
# Example configuration entry
spi:
miso_pin: GPIO12
clk_pin: GPIO14
sensor:
- platform: max6675
name: "Meat Probe #2"
cs_pin: GPIO13
update_interval: 240s
#sensor:
- platform: max6675
name: "Meat Probe #1"
cs_pin: GPIO15
update_interval: 120s
captive_portal:
tom_l
May 30, 2022, 4:11am
2
sensor:
- platform: max6675
name: "Meat Probe #2"
cs_pin: GPIO13
update_interval: 240s
filters:
- sliding_window_moving_average:
window_size: 15
send_every: 15
- platform: max6675
name: "Meat Probe #1"
cs_pin: GPIO15
update_interval: 120s
filters:
- sliding_window_moving_average:
window_size: 15
send_every: 15
PapaLanc
(Grey Lancaster)
May 30, 2022, 4:42pm
3
Thanks, I read that filters should be as the same level as platform but I just could note get it. I applied the filter to probe 2 to see the difference and it is better. I just used those 15 15 numbers to start will have to finger with it.
I wish it would show more as a curve than jumps. As well as set the y axis to like 60 to 220
Thanks again
Grey
tom_l
May 30, 2022, 9:45pm
4
Try it like this then:
- platform: max6675
name: "Meat Probe #2"
cs_pin: GPIO13
update_interval: 3s
filters:
- sliding_window_moving_average:
window_size: 10
send_every: 10
- platform: max6675
name: "Meat Probe #1"
cs_pin: GPIO15
update_interval: 3s
filters:
- sliding_window_moving_average:
window_size: 10
send_every: 10
PapaLanc
(Grey Lancaster)
May 30, 2022, 11:11pm
5
Better Thanks !!
Just cannot get the best of both worlds lol
I like the mini graph car but it does not have y and x-axis
Thanks again,
Grey
Again I just changed one probe to see the difference.