NEWS
[SourceAnalytix 0.4.8-Final] Released !
-
Troubleshooting
Before we start troubleshooting, it's important to understand how source analytix initialises as here errors may occur, see issue section.
The following sequence will be handled :- Start SourceAnalytix
- List all states activated for SourceAnalytix
- Initiate states, for each state :
- Read current cumulatedReading
(if present) and memory values from state - Check if unit can be handled {Issue 1}
- Check if cost type is chosen {Issue 2}
- Verify if valid price definition is present for cost type {Issue 3}
- Check if previous init value > current cumulated value {Issue 4}
- Check if valid known of previous device reset > current cumulated value {Issue 5}
- Store all data to memory
- Initialise states for each state :
- create state cumulativeReading (to store results of calculation, can also be used for W to kWh only) {Issue 6}
- create states as chosen in state configuration {Issue 7}
- start calculation
- On state change/update
- Verify if information is correct
- transform value to proper unit (unit of state to unit chosen in state configuration)
- check if value input is correct ( current value > previousInit value) {See 7 At device reset Issue 8}
- calculate {Issue 9}
- For Watt : calculate Watt to kWh ,calculate cumulatedReading = currentReading + cumulatedReading
- For other : calculate cumulatedReading = currentReading + previousDeviceReset (if present)
- At night (00.00)
- List all SourceAnalytix enabled states
- Reset start (Day/Week/Year/Month) values
- At device reset
- Store current value as previousDeviceReset and previousInit value
If the device wil be reset again (detected by previousInit value),
currentReading + previousDeviceReset is stored as to previousDeviceReset.
Issue 1 No unit defined for ....., cannot execute calculations
Please select correct unit in state settingsIssue 2 No cost type defined for ....., please Select Type of calculation at state setting
Please selected wanted cost-type for to understand what amount should be used to handle calculationsIssue 3 Selected Type ... does not exist in Price Definitions
Now Price definitions are found for the chosen cost type, please verify your price setting (adapte config)Issue 4 Check settings for ..... ! Known init value : ..... > known cumulative value ..... cannot proceed
The known init value > known cumulated values, this can be solved by removing or modifying these objects in the state raw object
"valueAtDeviceInit": xxxx
Issue 5 Check settings for ..... ! Known valueAtDeviceReset : ..... > known cumulative value ..... cannot procee
The known init value > known cumulated values, this can be solved
removing or modifying these objects in the state raw object
valueAtDeviceReset": xxxx
Issue 6 State for cumulativeReading is not created
Initialisation of state did fail, see issue 1 to 5Issue 7 States for costs readings ae not created
Type of calculation is not enabled in state settings
Price-Definitions
Issue 8 current value < previousInit
A device reset is detected, see function 7Issue 9 My calculations are incorrect
cumulativeReading-Reset
- Verify if the correct unit is chosen (of not selected, SA will try to autodetect)
- Verify if the cumulatedReading reflects the correct total value of your value reading, if not
- Stop SA
- Go to tab objects
- Enter expert mode
- Change the cumulatedReading
- Exit expert mode
- Ensure the start values are set correctly
- Start SA
-
Ensure the start values are set correctly
SA handles calculations by cumulatedReading - known cumulatedReading at period start.<b/>
These start values are defined at the state settings and should be < than currentReading
Please ensure cumulativeReading >= DayStart >= WeekStart >= MonthStart >= QuarterStart >= YearStart
-
Verify these values in state raw object :
valueAtDeviceReset": xxx
"valueAtDeviceInit": xxx
-
Vielen Dank für diesen tollen Adapter!!
Ich habe ihn mit Strom, Öl und Wasser am Laufen.
Eine Frage / Problem habe ich:
Beim Öltank habe ich den aktuellen Ölstand (Beispiel 6000 Liter). Hier wird mir jetzt der Verbrauch und auch die Kosten mit einem Minusvorzeichen angezeigt, da der Inhalt des Tanks ja abnimmt.
Kann ich das irgendwo einstellen?Vielen Dank im Voraus
Frank
-
@deifel said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
Beim Öltank habe ich den aktuellen Ölstand (Beispiel 6000 Liter). Hier wird mir jetzt der Verbrauch und auch die Kosten mit einem Minusvorzeichen angezeigt, da der Inhalt des Tanks ja abnimmt.
Kann ich das irgendwo einstellen?Hmm nicht wirklich den du hast einen wert de abnimmt anstatt dazu, mit anderen Worten der - wert muss immer als verbrauch interpretiert werden Feuer die jetzige logic van SA.
Kannst du die Messung nicht umdrehen in einen Verbrauchswert ?
-
@dutchman
Danke für Deine Antwort und schade, dass es hierfür keine Einstellmöglichkeit gibt.
Der Wert kommt verschlüsselt über eine angezapfte Sonde an einem RS485 an und die Werte werden anhand einer Tabelle dann in einen Füllstand interpretiert.
Der Aufwand war ganz schön groß, das einzurichten.
Klar könnte ich jetzt mit weiteren Variablen arbeiten und vom maximalen Füllstand den aktuellen Wert abziehen, um wiederum den Verbrauch zu bekommen...
Aber wenns einfacher gegangen wäre (einfach durch Umkehren am Adapter) wäre das natürlich klasse gewesen:)Trotzdem danke auch nochmals für die tolle Arbeit!
-
@deifel said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
Klar könnte ich jetzt mit weiteren Variablen arbeiten und vom maximalen Füllstand den aktuellen Wert abziehen, um wiederum den Verbrauch zu bekommen...
Aber wenns einfacher gegangen wäre (einfach durch Umkehren am Adapter) wäre das natürlich klasse gewesen:)Es wuerde gehen, aber wie gesagt dazu mss ich ne andere logic realisieren bitte git Issue erstellen.
Ich wuerde solange vorschlagen um per script einen Datenpunkt zu erstellen und dan die Berechnung :Gesamt Volumen - Jetziges Volumen = Verbrauch und diesen mit SA loggen. Wie der tank gefüllt ist der stand 0 und damit
At device reset Store current value as previousDeviceReset and previousInit value If the device wil be reset again (detected by previousInit value), currentReading + previousDeviceReset is stored as to previousDeviceReset.
-
0.4.8-alpha.10 (2021-01-14)
- (Dutchman) Bugfix : Avoid loop if init value is set and > reading
- (Dutchman) Bugfix : Throw error if value is NULL for troubleshooting instead of handling incorrect calculation
-
@dutchman
Ich habe gerade dein Alpha 10 eingespielt.sourceanalytix.0 2021-01-14 14:12:29.982 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object] sourceanalytix.0 2021-01-14 14:12:22.632 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object] sourceanalytix.0 2021-01-14 14:12:19.036 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object] sourceanalytix.0 2021-01-14 14:12:15.343 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object] sourceanalytix.0 2021-01-14 14:12:12.385 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object] sourceanalytix.0 2021-01-14 14:12:08.934 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object] sourceanalytix.0 2021-01-14 14:11:58.666 error (2129) [calculationHandler] reading incorrect after conversion contact DEV and provide these info | Reading : null | start reading [object Object] | stateDetails [object Object]
-
@martybr said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
@dutchman
Ich habe gerade dein Alpha 10 eingespielt. ```Danke, darauf hab ich gewartet bitte noch einmal von git dan stehen auf die werte drin anstatt object und kan ich den Fehler ausbügeln !
-
@dutchman ich hab die Alpha 11 gerade mal drüber gebügelt, außer folgender Fehlerchen hab ich vom Adapter selbst nix bekommen:
sourceanalytix.0 2021-01-14 14:42:00.623 warn (14935) State "sourceanalytix.0.alias__0__Stromverbrauch__total__Serverschrank.currentYear.consumed.2021.05_currentYear" has no existing object, this might lead to an error in future versions sourceanalytix.0 2021-01-14 14:41:47.017 warn (14935) State "sourceanalytix.0.alias__0__Stromverbrauch__total__Serverschrank.currentYear.consumed.2021.05_currentYear" has no existing object, this might lead to an error in future versions
Aber bei der Installation hatte ich verdammt viele rote EInträge:
host.ioBroker2 2021-01-14 14:40:50.043 error instance system.adapter.sourceanalytix.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) host.ioBroker2 2021-01-14 14:40:50.043 error Caught by controller[655]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.043 error Caught by controller[655]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.043 error Caught by controller[655]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.042 error Caught by controller[655]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.041 error Caught by controller[655]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.040 error Caught by controller[655]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[655]: ode_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/n host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.039 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.038 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.037 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.034 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.033 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.032 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.031 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:607:24) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: Error: Connection is closed. host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejec host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at process.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8477:45) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at exceptionHandler (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8457:28) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Sourceanalytix.registerNotification (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5677:24) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Sourceanalytix.sendToHostAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1618:16) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at new Promise (<anonymous>) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1619:16 host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Sourceanalytix.sendToHost (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5660:31) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at StateRedisClient.pushMessage (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:898:31) host.ioBroker2 2021-01-14 14:40:50.030 error Caught by controller[654]: at Redis.publish (/opt/iobroker/node_modules/ioredis/built/commander.js:111:25)
Redis hab ich nicht...
Plopp...System down...ich starte es mal neu. AUslastung über 100%. Komm nirgends mehr dran ^^
-
@kueppert said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
Plopp...System down...ich starte es mal neu. AUslastung über 100%. Komm nirgends mehr dran ^^
welcher js-controller ?
-
@dutchman der neue 3.2.6-0. Wollte gerade via Putty neu starten, nochmal schnell in die Weboberfläche geschaut. Nun starten alle Adapter gerade neu O.o
Auslastung gerade von 120% auf 85% runter gem. Proxmox. -
@kueppert said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
@dutchman der neue 3.2.6-0. Wollte gerade via Putty neu starten, nochmal schnell in die Weboberfläche geschaut. Nun starten alle Adapter gerade neu O.o
Auslastung gerade von 120% auf 85% runter gem. Proxmox.Das ist ein Fehler im 3.2-x nicht SA
-
@dutchman alles klar. Ich starte die Maschine jetzt mal neu. Scheint sich zwar alles beruhigt zu haben...aber dann schaue ich nochmal, was dann passiert ^^
Soll ich beim JS-Controller 3.2-Thread irgendwas posten? -
@kueppert said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
Soll ich beim JS-Controller 3.2-Thread irgendwas posten?
ja bitte log dort posten ich kan im code von SA damit leider nix
-
@dutchman oh man...hab dich mit Apollon verwechselt - bzw euch als eine Person gesehen bis gerade hahaha. Habs dort gepostet ^^
NACHTRAG für alle, die ggf das gleiche Problem haben:
https://forum.iobroker.net/topic/40725/beta-test-js-controller-3-2-x-auf-github/187?_=1610605750979 -
@kueppert said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
@dutchman ich hab die Alpha 11 gerade mal drüber gebügelt, außer folgender Fehlerchen hab ich vom Adapter selbst nix bekommen:
sourceanalytix.0 2021-01-14 14:42:00.623 warn (14935) State "sourceanalytix.0.alias__0__Stromverbrauch__total__Serverschrank.currentYear.consumed.2021.05_currentYear" has no existing object, this might lead to an error in future versions sourceanalytix.0 2021-01-14 14:41:47.017 warn (14935) State "sourceanalytix.0.alias__0__Stromverbrauch__total__Serverschrank.currentYear.consumed.2021.05_currentYear" has no existing object, this might lead to an error in future versionsDas sollte in der letzte git version des code (wird alpha 13) behoben sein
-
@dutchman danke dir. Jetzt traue ich mich aber nicht mehr, nen Update zu machen
-
@kueppert said in [SourceAnalytix 0.4.8-RC.1] Stable version announcement:
@dutchman danke dir. Jetzt traue ich mich aber nicht mehr, nen Update zu machen
neh warte mal auf den neue JS-Controller beta wo die loop auch raus ist.... Fehler ist bereits gefunden hab mal schnell mit Ingo geschnackt.
-
@dutchman
Sorry die späte Antwort. Ich hatte eine Meetings laufen.
Ich spiele jetzt mal die neue Version ein und berichte gleich. -
Installation auf die 12-Version durchgeführt :
sourceanalytix.0 2021-01-14 18:03:13.495 error (4347) Troubleshoot Data alias.0.Verbrauch.Strom.HWR.Waschmaschine-ENERGY_COUNTER custom Data : {"from":"system.adapter.sourceanalytix.0","user":"system.user.admin","ts":1610619988422,"common":{"name sourceanalytix.0 2021-01-14 18:03:13.495 error (4347) Check settings for alias.0.Verbrauch.Strom.HWR.Waschmaschine-ENERGY_COUNTER ! Known valueAtDeviceReset : (84934.61192092283) > known cumulative value (66540.92233804846) cannot proceed
Der Autor ist ein Homematic: