roschaefer / story.board

MIT License
4 stars 4 forks source link

Sensor endpoints for milk price and daily cost #560

Open DavidLichtenberger opened 7 years ago

DavidLichtenberger commented 7 years ago

Front end needs additional data input for 1) the daily milk price the farmers get and 2) the daily cost of the cow.

Those obviously are not sensor data but have to be entered manually. Nevertheless it would be very convenient if we could use the sensor database and endpoints for this.

Would it be possible to create sensor channels for those two parameters?

drjakob commented 7 years ago

I created the sensors (and think it should work) Milchpreis_in_ct_Emma_Hoeck (Sensor 182) Kosten_in_ct_Emma_Hoeck (Sensor 181) Milchpreis_in_ct_Kuh71_Driller (Sensor 179) Kosten_in_ct_Kuh71_Driller (Sensor 180) Milchpreis_in_ct_Connie_Siebers (Sensor 177) Kosten_in_ct_Connie_Siebers (Sensor 178)

drjakob commented 7 years ago

Price for Milk for Cow 71 is channel http://redaktion.superkuehe.de/reports/4/sensors/179/sensor_readings.json?since=2017.07.17 (I added one value for test reasons.)

DavidLichtenberger commented 7 years ago

That was quick. Thanks!