Syslog / daemon.log get full

Hi, I´m using node-red-contrib-tibber-api without problems, but something internal seems to be wrong, my micro-sd card has been written full (20GB) with these messages from Node-Red:

[info] [tibber-feed] Message contains unexpected id and will be ignored.
Jul  2 14:56:09 raspberrypi Node-RED[381]: {"id":"2","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T14:56:07.000+02:00","power":114,"lastMeterConsumption":1957.33534159,"accumulatedConsumption":1.611493,"accumulatedProduction":0,"accumulatedConsumptionLastHour":0.140509,"accumulatedProductionLastHour":0,"accumulatedCost":0.062052,"accumulatedReward":null,"currency":"EUR","minPower":30,"averagePower":107.9,"maxPower":1263,"powerProduction":null,"minPowerProduction":null,"maxPowerProduction":null,"lastMeterProduction":-1,"powerFactor":null,"voltagePhase1":234.4,"voltagePhase2":234.4,"voltagePhase3":236.7,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 14:56:11 raspberrypi Node-RED[381]: 2 Jul 14:56:11 - [info] [tibber-feed] Message contains unexpected id and will be ignored.
Jul  2 14:56:11 raspberrypi Node-RED[381]:  ...

Jul  2 22:35:42 raspberrypi Node-RED[381]: {"id":"15","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:42.000+02:00","power":2,"lastMeterConsumption":11325.2660531,"accumulatedConsumption":27.372036,"accumulatedProduction":71.75658,"accumulatedConsumptionLastHour":0.006142,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931418,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.3,"maxPower":26490,"powerProduction":null,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160149,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:42 raspberrypi Node-RED[381]: 2 Jul 22:35:42 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:42 raspberrypi Node-RED[381]: {"id":"19","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:42.000+02:00","power":2,"lastMeterConsumption":11325.2660531,"accumulatedConsumption":27.372036,"accumulatedProduction":71.75658,"accumulatedConsumptionLastHour":0.006142,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931418,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.3,"maxPower":26490,"powerProduction":null,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160149,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:44 raspberrypi Node-RED[381]: 2 Jul 22:35:44 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:44 raspberrypi Node-RED[381]: {"id":"22","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:42.000+02:00","power":2,"lastMeterConsumption":11325.2660531,"accumulatedConsumption":27.372036,"accumulatedProduction":71.75658,"accumulatedConsumptionLastHour":0.006142,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931418,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.3,"maxPower":26490,"powerProduction":null,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160149,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:44 raspberrypi Node-RED[381]: 2 Jul 22:35:44 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:44 raspberrypi Node-RED[381]: {"id":"13","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:42.000+02:00","power":2,"lastMeterConsumption":11325.2660531,"accumulatedConsumption":27.372036,"accumulatedProduction":71.75658,"accumulatedConsumptionLastHour":0.006142,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931418,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.3,"maxPower":26490,"powerProduction":null,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160149,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:44 raspberrypi Node-RED[381]: 2 Jul 22:35:44 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:44 raspberrypi Node-RED[381]: {"id":"7","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:42.000+02:00","power":2,"lastMeterConsumption":11325.2660531,"accumulatedConsumption":27.372036,"accumulatedProduction":71.75658,"accumulatedConsumptionLastHour":0.006142,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931418,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.3,"maxPower":26490,"powerProduction":null,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160149,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:45 raspberrypi Node-RED[381]: 2 Jul 22:35:45 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:45 raspberrypi Node-RED[381]: {"id":"17","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:45.000+02:00","power":0,"lastMeterConsumption":11325.2660594,"accumulatedConsumption":27.372043,"accumulatedProduction":71.756581,"accumulatedConsumptionLastHour":0.006149,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931416,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.2,"maxPower":26490,"powerProduction":5,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160154,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:45 raspberrypi Node-RED[381]: 2 Jul 22:35:45 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:45 raspberrypi Node-RED[381]: {"id":"15","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:45.000+02:00","power":0,"lastMeterConsumption":11325.2660594,"accumulatedConsumption":27.372043,"accumulatedProduction":71.756581,"accumulatedConsumptionLastHour":0.006149,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931416,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.2,"maxPower":26490,"powerProduction":5,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160154,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}
Jul  2 22:35:45 raspberrypi Node-RED[381]: 2 Jul 22:35:45 - [info] [tibber-feed:Easymeter] Message contains unexpected id and will be ignored.
Jul  2 22:35:45 raspberrypi Node-RED[381]: {"id":"19","type":"next","payload":{"data":{"liveMeasurement":{"timestamp":"2023-07-02T22:35:45.000+02:00","power":0,"lastMeterConsumption":11325.2660594,"accumulatedConsumption":27.372043,"accumulatedProduction":71.756581,"accumulatedConsumptionLastHour":0.006149,"accumulatedProductionLastHour":0.004312,"accumulatedCost":-11.931416,"accumulatedReward":null,"currency":"EUR","minPower":-16881,"averagePower":1211.2,"maxPower":26490,"powerProduction":5,"minPowerProduction":0,"maxPowerProduction":25051,"lastMeterProduction":39868.3160154,"powerFactor":null,"voltagePhase1":null,"voltagePhase2":null,"voltagePhase3":null,"currentL1":null,"currentL2":null,"currentL3":null,"signalStrength":null}}}}

In debug there is no error showing, everything is fine.

Any idea what´s going wrong with the tibber live feed, who is writing my sd-card completly full ?

There are two issues here.

  1. Why is the node apparently spamming syslog with messages
  2. Why is not syslog getting rotated so that old data is deleted.

For 1, I suggest you ask a question on the node's issues page

For 2, what does this command show?
ls -l /var/log/syslog*

ls -l /var/log/syslog*
-rw-r----- 1 root adm  235083  3. Jul 07:50 /var/log/syslog
-rw-r----- 1 root adm 1589989  2. Jul 00:00 /var/log/syslog.1
-rw-r----- 1 root adm      21 27. Jun 21:47 /var/log/syslog.2.gz

I think it is rotating each week

There is only a few MB there. Where are the GBs you mentioned?

I´ve deleted them and disabled the nodes

Well it is difficult to diagnose the problem if you have deleted the evidence.

the inventor of tibber api is looking for the problem...

1 Like

@Colin do you know how I can make a tibber api query on my own?

curl \
-H "Authorization: Bearer 5K4MVS-OjfWhK_4yrjOlFe1F6kJXPVf7eQYggo8ebAE" \
-H "Content-Type: application/json" \
-X POST \
-d  '{ "query": "{viewer {homes {currentSubscription {priceInfo {current {total energy tax startsAt }}}}}}" }' https://api.tibber.com/v1-beta/gql

https://developer.tibber.com/docs/guides/calling-api

with this:

subscription{
  liveMeasurement(homeId:"xxxxxx"){
    timestamp
    power
    accumulatedConsumption
    accumulatedCost
    currency
    minPower
    averagePower
    maxPower
  }
}

I don´t know how to put that in http request.

the tibber-api live feed is quering every 2s, I would do it 5 oder 10s on my own.

No, that is not an area in which I have good knowledge. Probably someone else can help convert the curl to an http request.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.