Switch / Contact in rrd4

If it is not using a number to store switch states it won’t work in rrd4j at all. I’d recommend using the InfluxDB+Grafana approach, or at least the InfluxDB part. I’ve been charting switches in it successfully.