My ultimate goal is to log the sensor data from the Hubitat Events feed to a file on my PC. I also need to add a timestamp to the data.
I thought I could simply add the timestamp to the Payload using the "change" Node. However I could not seem to make any changes to the Payload.
I tried:
- Change Node - Set (adding a new variable to the payload)
- Change Node - Delete ( could not delete any variables from the payload
- Change Node - Set a current Variable.
I'm guess I'm missing something basic. I have boiled the task down to the four nodes , hoping if I can learn how to manipulate the Payload I could figure out the rest.

Thanks for your help.
John
PostedFlow Debug:
8/25/2019, 3:24:20 AMnode: OBJECT
msg : Object
{ payload: "{"source":"DEVICE","name":"hum…", _session: object, _msgid: "7f79ee59.a84d5" }
8/25/2019, 3:24:20 AMnode: AfterSET
msg.payload : string[220]
"{"source":"DEVICE","name":"humidity","displayName":"Furnace Lockout","value":"33.79","unit":"%","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout humidity is 33.79%"}"
8/25/2019, 3:24:22 AMnode: OBJECT
msg : Object
{ payload: "{"source":"DEVICE","name":"tem…", _session: object, _msgid: "33ccaf4b.8673d" }
8/25/2019, 3:24:22 AMnode: AfterSET
msg.payload : string[236]
"{"source":"DEVICE","name":"temperature","displayName":"Furnace Lockout","value":"89.9","unit":"\u00b0F","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout temperatur
PostedFlow Console:
25 Aug 03:24:15 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"rssi","displayName":"Vista20","value":"-49","unit":null,"deviceId":1390,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":null}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: 'a7dd396c.dfa0b8' }
25 Aug 03:24:15 - [info] [debug:AfterSET] {"source":"DEVICE","name":"rssi","displayName":"Vista20","value":"-49","unit":null,"deviceId":1390,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":null}
25 Aug 03:24:20 - [info] [debug:AfterSET]
{ payload:
'{"source":"DEVICE","name":"humidity","displayName":"Furnace Lockout","value":"33.79","unit":"%","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout humidity is 33.79%"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '7f79ee59.a84d5' }
25 Aug 03:24:20 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"humidity","displayName":"Furnace Lockout","value":"33.79","unit":"%","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout humidity is 33.79%"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '7f79ee59.a84d5' }
25 Aug 03:24:20 - [info] [debug:AfterSET] {"source":"DEVICE","name":"humidity","displayName":"Furnace Lockout","value":"33.79","unit":"%","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout humidity is 33.79%"}
25 Aug 03:24:22 - [info] [debug:AfterSET]
{ payload:
'{"source":"DEVICE","name":"temperature","displayName":"Furnace Lockout","value":"89.9","unit":"\\u00b0F","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout temperature is 89.9\\u00b0F"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '33ccaf4b.8673d' }
25 Aug 03:24:22 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"temperature","displayName":"Furnace Lockout","value":"89.9","unit":"\\u00b0F","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout temperature is 89.9\\u00b0F"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '33ccaf4b.8673d' }
25 Aug 03:24:22 - [info] [debug:AfterSET] {"source":"DEVICE","name":"temperature","displayName":"Furnace Lockout","value":"89.9","unit":"\u00b0F","deviceId":1419,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Furnace Lockout temperature is 89.9\u00b0F"}
25 Aug 03:24:46 - [info] [debug:AfterSET]
{ payload:
'{"source":"DEVICE","name":"rssi","displayName":"Outside Air Sensor","value":"-83","unit":"\\u00b0F","deviceId":1803,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":null}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: 'cd906637.2a70a8' }
25 Aug 03:24:46 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"rssi","displayName":"Outside Air Sensor","value":"-83","unit":"\\u00b0F","deviceId":1803,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":null}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: 'cd906637.2a70a8' }
25 Aug 03:24:46 - [info] [debug:AfterSET] {"source":"DEVICE","name":"rssi","displayName":"Outside Air Sensor","value":"-83","unit":"\u00b0F","deviceId":1803,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":null}
25 Aug 03:25:02 - [info] [debug:AfterSET]
{ payload:
'{"source":"DEVICE","name":"temperature","displayName":"Porch Temp-Humidity","value":"61.52","unit":"\\u00b0F","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Temperature is 61.52\\u00b0F"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '3b9775be.a8469a' }
25 Aug 03:25:02 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"temperature","displayName":"Porch Temp-Humidity","value":"61.52","unit":"\\u00b0F","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Temperature is 61.52\\u00b0F"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '3b9775be.a8469a' }
25 Aug 03:25:02 - [info] [debug:AfterSET] {"source":"DEVICE","name":"temperature","displayName":"Porch Temp-Humidity","value":"61.52","unit":"\u00b0F","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Temperature is 61.52\u00b0F"}
25 Aug 03:25:02 - [info] [debug:AfterSET]
{ payload:
'{"source":"DEVICE","name":"humidity","displayName":"Porch Temp-Humidity","value":"75.1","unit":"%","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Humidity is 75.1%"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '9aa6c498.98a2b8' }
25 Aug 03:25:02 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"humidity","displayName":"Porch Temp-Humidity","value":"75.1","unit":"%","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Humidity is 75.1%"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '9aa6c498.98a2b8' }
25 Aug 03:25:02 - [info] [debug:AfterSET] {"source":"DEVICE","name":"humidity","displayName":"Porch Temp-Humidity","value":"75.1","unit":"%","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Humidity is 75.1%"}
25 Aug 03:25:02 - [info] [debug:AfterSET]
{ payload:
'{"source":"DEVICE","name":"pressure","displayName":"Porch Temp-Humidity","value":"1016.0","unit":"hPa","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Pressure is 1016.0 hPa"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '1026d51a.3115eb' }
25 Aug 03:25:02 - [info] [debug:OBJECT]
{ payload:
'{"source":"DEVICE","name":"pressure","displayName":"Porch Temp-Humidity","value":"1016.0","unit":"hPa","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Pressure is 1016.0 hPa"}',
_session: { type: 'websocket', id: '922a7ae3.e67688' },
_msgid: '1026d51a.3115eb' }
25 Aug 03:25:02 - [info] [debug:AfterSET] {"source":"DEVICE","name":"pressure","displayName":"Porch Temp-Humidity","value":"1016.0","unit":"hPa","deviceId":1811,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Pressure is 1016.0 hPa"}