# Syslog / daemon.log get full

**URL:** https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547
**Category:** General
**Created:** [2 July 2023 20:34 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547 "2023-07-02T20:34:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)
#### Post date: [2 July 2023 20:34 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/1 "2023-07-02T20:34:46Z")

</div>

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:

```auto
[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 ?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [2 July 2023 20:53 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/2 "2023-07-02T20:53:07Z")

</div>

> [@Becker](#):
>
> node-red-contrib-tibber-api

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](https://github.com/bisand/node-red-contrib-tibber-api/issues)

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

---

<div class="post-metadata">

### Author: ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)
#### Post date: [3 July 2023 05:51 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/3 "2023-07-03T05:51:37Z")

</div>

```auto
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

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 July 2023 06:13 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/4 "2023-07-03T06:13:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)
#### Post date: [3 July 2023 07:04 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/5 "2023-07-03T07:04:48Z")

</div>

I´ve deleted them and disabled the nodes

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 July 2023 07:59 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/6 "2023-07-03T07:59:25Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)
#### Post date: [3 July 2023 09:00 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/7 "2023-07-03T09:00:06Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)
#### Post date: [3 July 2023 13:48 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/8 "2023-07-03T13:48:20Z")

</div>

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

```auto
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](https://developer.tibber.com/docs/guides/calling-api)

with this:

```auto
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.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 July 2023 14:18 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/9 "2023-07-03T14:18:38Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [1 September 2023 14:19 UTC](https://discourse.nodered.org/t/syslog-daemon-log-get-full/79547/10 "2023-09-01T14:19:14Z")

</div>

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