New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

iobroker.shelly

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.shelly - npm Package Compare versions

Comparing version 3.2.3 to 3.2.5

.github/workflows/test-and-release.yml

25

io-package.json
{
"common": {
"name": "shelly",
"version": "3.2.3",
"version": "3.2.5",
"news": {
"3.2.4": {
"en": "Bugfixing for Shelly 1",
"de": "Bugfixing für Shelly 1",
"ru": "Исправление ошибок для Shelly 1",
"pt": "Correção de erros para Shelly 1",
"nl": "Bugfixing voor Shelly 1",
"fr": "Correction de bugs pour Shelly 1",
"it": "Bugfixing per Shelly 1",
"es": "Corrección de errores para Shelly 1",
"pl": "Naprawianie błędów dla Shelly 1",
"zh-cn": "Shelly 3EM的错误修复"
},
"3.2.3": {

@@ -209,3 +221,12 @@ "en": "Bugfixing for Shelly 3EM ",

"type": "iot-systems",
"restartAdapters": []
"restartAdapters": [],
"connectionType": "local",
"dataSource": "push",
"plugins": {
"sentry": {
"dsn": "https://4d0cc16e06844e6d9b930659db1f0492@sentry.iobroker.net/19",
"pathWhitelist": ["@apollon", "shelly-iot"]
}
}
},

@@ -212,0 +233,0 @@ "native": {

16

lib/devices/shelly1.js

@@ -159,3 +159,3 @@ /* jshint -W097 */

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature/0',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature/0',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -178,3 +178,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature/1',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature/1',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -197,3 +197,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature/2',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature/2',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -216,3 +216,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature/3',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature/3',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -235,3 +235,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature_f/0',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature_f/0',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -254,3 +254,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature_f/1',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature_f/1',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -273,3 +273,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature_f/2',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature_f/2',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -292,3 +292,3 @@ },

mqtt: {
mqtt_publish: 'shellies/shelly1pm-<deviceid>/ext_temperature_f/3',
mqtt_publish: 'shellies/shelly1-<deviceid>/ext_temperature_f/3',
mqtt_publish_funct: (value) => { return String(value).replace(/[^0-9\.]/g, '') }

@@ -295,0 +295,0 @@ },

{
"name": "iobroker.shelly",
"version": "3.2.3",
"version": "3.2.5",
"description": "Shelly",

@@ -32,21 +32,21 @@ "author": {

"dependencies": {
"@apollon/iobroker-tools": "^0.1.0",
"@iobroker/adapter-core": "^2.0.0",
"@apollon/iobroker-tools": "^0.2.0",
"@iobroker/adapter-core": "^2.2.1",
"mqtt": "3.0.0",
"mqtt-connection": "^4.0.0",
"ping": "^0.2.2",
"request": "^2.88.0",
"shelly-iot": "^1.0.5",
"xmlbuilder": "^13.0.2"
"ping": "^0.2.3",
"request": "^2.88.2",
"shelly-iot": "^1.0.6",
"xmlbuilder": "^15.1.1"
},
"devDependencies": {
"@iobroker/testing": "^2.0.0",
"axios": "^0.19.0",
"@iobroker/testing": "^2.1.0",
"axios": "^0.19.2",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-react": "^7.17.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-react": "^7.19.0",
"gulp": "^4.0.2",
"mocha": "^6.2.2"
"mocha": "^7.1.1"
},

@@ -53,0 +53,0 @@ "main": "shelly.js",

@@ -17,2 +17,4 @@ ![Logo](admin/shelly.png)

**This adapter uses Sentry libraries to automatically report exceptions and code errors to me as the developer.** More details see below!
## Installation

@@ -47,4 +49,16 @@ You find a detailed installation documentation here:

## What is Sentry and what is reported to the servers?
Sentry.io is a way for developers to get an overview about errors from their applications. And exactly this is implemented in this adapter.
When the adapter crashes or an other Code error happens, this error message that also appears in the ioBroker log is submitted to our own Sentry server hosted in germany. When you allowed iobroker GmbH to collect diagnostic data then also your installation ID (this is just a unique ID **without** any additional infos about you, email, name or such) is included. This allows Sentry to group errors and show how many unique users are affected by such an error. All of this helps me to provide error free adapters that basically never crashs.
## Changelog
### 3.2.5 (13.04.2020)
* (Apollon77) - Update Dependencies incl shelly-lib to prevent exceptions
* (Apollon77) - Add Sentry for error/crash reporting (active with js-controller 3.0)
### 3.2.4 (11.04.2020)
* (Stübi) - Bugfixing MQTT ext_temperature for Shelly 1
### 3.2.3 (03.03.2020)

@@ -51,0 +65,0 @@ * (Stübi) - Bugfixing Shelly 3EMfor MQTT support (fixed datapoints for total and total_returned)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc