diff -r 93a87fe230cc -r ea24b4ce02b1 thermferm/devices.c --- a/thermferm/devices.c Sun Apr 28 14:25:26 2024 +0200 +++ b/thermferm/devices.c Sun Apr 28 15:50:42 2024 +0200 @@ -696,7 +696,7 @@ /* * Create simulated devices, or upgrade with new devices. */ - subdevices = 9; + subdevices = 10; for (i = found; i < subdevices; i++) { ndev = (devices_list *)malloc(sizeof(devices_list)); ndev->next = NULL; @@ -748,6 +748,10 @@ ndev->address = xstrcpy((char *)"SimLight"); ndev->description = xstrcpy((char *)"Simulated light"); break; + case 9: ndev->direction = DEVDIR_IN_ANALOG; + ndev->address = xstrcpy((char *)"SimBeerTemp2"); + ndev->description = xstrcpy((char *)"Simulated beer temperature (alt)"); + break; } syslog(LOG_NOTICE, "New Simulator device %s, subdevice %d, %s", ndev->address, ndev->subdevice, ndev->description);