Skip to content

Commit

Permalink
Merge pull request #2 from bowao/updateDependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
bowao authored Jul 23, 2020
2 parents 92e232a + 10d3fae commit 9fb5140
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 142 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ os:

language: node_js
node_js:
- '8'
- '10'
- '12'

- '14'
env:
- CXX=g++-4.8
- CXX=g++-6
addons:
apt:
sources:
Expand Down
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
![Logo](admin/epson_xp860.png)
# ioBroker.epson_xp860

[![Dependency Status](https://img.shields.io/david/bowao/iobroker.epson_xp860.svg)](https://david-dm.org/bowao/iobroker.epson_xp860)
[![Known Vulnerabilities](https://snyk.io/test/github/bowao/ioBroker.epson_xp860/badge.svg)](https://snyk.io/test/github/bowao/ioBroker.epson_xp860)

**Tests:**: [![Travis-CI](http://img.shields.io/travis/bowao/ioBroker.epson_xp860/master.svg)](https://travis-ci.org/bowao/ioBroker.epson_xp860)

# IoBroker Adapter for Epson Expression Photo XP860
(German version see below)

## Description
Expand Down Expand Up @@ -39,7 +46,6 @@ printerInfo.mac
printerInfo.model
printerInfo.name
printerInfo.requestResponded (True if printer responded on last request)
printerInfo.responseTime (Response time of last request)

## VIS
### Widget
Expand Down Expand Up @@ -84,7 +90,6 @@ printerInfo.mac
printerInfo.model
printerInfo.name
printerInfo.requestResponded (Wahr, wenn der Drucker auf die letzte Anfrage geantwortet hat)
printerInfo.responseTime (Antwortzeit der letzten Anfrage)


## VIS
Expand All @@ -96,9 +101,17 @@ https://raw.githubusercontent.com/bowao/ioBroker.epson_xp860/master/widgets/ink_


## Changelog
### 2.0.0
- Update dependencies
- Replace deprecated npm packet request with standard library module http
- Fixed wrong links to data points printer model, name and mac in widget
- Fixed invalid obj.common.type in datapoint requestResponded
- BREAKING CHANGE: Drop node 8 support
- BREAKING CHANGE: js-controller v2.4.0 or above required
- BREAKING CHANGE: Remove datapoint responseTime

### 1.0.0
* stable release
- stable release

## License

Expand Down
24 changes: 7 additions & 17 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"common": {
"name": "epson_xp860",
"version": "1.0.0",
"version": "2.0.0",
"news": {
"2.0.0": {
"en": "Update dependencies, Drop node 8 support, Bugfix"
},
"1.0.0": {
"en": "stable release",
"de": "stabile Version",
Expand Down Expand Up @@ -59,10 +62,11 @@
"mode": "schedule",
"schedule": "0 * * * *",
"type": "infrastructure",
"compact": true,
"materialize": true,
"dependencies": [
{
"js-controller": ">=1.4.2"
"js-controller": ">=2.4.0"
}
]
},
Expand Down Expand Up @@ -151,26 +155,12 @@
"common": {
"name": "Printer responded to last request",
"desc": "Printer responded to last request",
"type": "bool",
"type": "boolean",
"read": true,
"write": false,
"role": "state"
},
"native": {}
},
{
"_id": "printerInfo.responseTime",
"type": "state",
"common": {
"name": "Response time of last request",
"desc": "Response time of last request",
"type": "number",
"read": true,
"write": false,
"role": "value",
"unit": "ms"
},
"native": {}
}
]
}
Loading

0 comments on commit 9fb5140

Please sign in to comment.