Skip to content

Commit

Permalink
nicer image
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwch committed May 19, 2020
1 parent f541630 commit 80ee598
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/node_modules
/nbproject
.DS_Store
*.tgz
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ appveyor.yml
src
tsconfig.json
tsconfig.build.json

.afphoto
2 changes: 1 addition & 1 deletion admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<div class="row">
<div class="col s12 m4 l2">
<img src="mystrom-wifi-switch.jpg" class="logo">
<img src="mystrom-wifi-switch.png" class="logo">
</div>
</div>

Expand Down
Binary file removed admin/mystrom-wifi-switch.jpg
Binary file not shown.
Binary file added admin/mystrom-wifi-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bild.afphoto
Binary file not shown.
5 changes: 4 additions & 1 deletion build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ class MystromSwitch extends utils.Adapter {
}
doFetch(addr) {
return __awaiter(this, void 0, void 0, function* () {
const url = this.config.url;
let url = this.config.url;
if (url.indexOf("://") == -1) {
url = "http://" + url;
}
this.log.info("Fetching " + url + addr);
try {
const response = yield node_fetch_1.default(url + addr, { method: "get" });
Expand Down
8 changes: 4 additions & 4 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"common": {
"name": "mystrom-wifi-switch",
"version": "2.0.1",
"version": "2.0.2",
"news": {
"2.0.1":{
"2.0.1": {
"en": "better upgrade of url config from earlier versions",
"de": "Besseres Upgrade der URL-Konfiguration von früheren Versionen",
"ru": "лучшее обновление конфига url с более ранних версий",
Expand Down Expand Up @@ -108,9 +108,9 @@
"license": "MIT",
"platform": "Javascript/Node.js",
"main": "build/main.js",
"icon": "mystrom-wifi-switch.jpg",
"icon": "mystrom-wifi-switch.png",
"enabled": true,
"extIcon": "https://raw.githubusercontent.com/rgwch/ioBroker.mystrom-wifi-switch/master/admin/mystrom-wifi-switch.jpg",
"extIcon": "https://raw.githubusercontent.com/rgwch/ioBroker.mystrom-wifi-switch/master/admin/mystrom-wifi-switch.png",
"readme": "https://github.com/rgwch/ioBroker.mystrom-wifi-switch/blob/master/README.md",
"loglevel": "info",
"mode": "daemon",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.mystrom-wifi-switch",
"version": "2.0.1",
"version": "2.0.2",
"description": "control mystrom switches",
"author": {
"name": "rgwch",
Expand Down

0 comments on commit 80ee598

Please sign in to comment.