Compare commits

...
1 Commits
Author SHA1 Message Date
Stefan Dej 470a7633c5 bugfix: fix typo for gpio power devices
update update.md to 0.2.4

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-16 22:58:37 +02:00
3 changed files with 6 additions and 6 deletions

No files matched your search

+2 -2
View File
@@ -270,7 +270,7 @@ Now we can install Mainsail (static httpdocs).
Now you can download the current mainsail static data
```
cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.2.2/mainsail-beta-0.2.2.zip && unzip mainsail.zip && rm mainsail.zip
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.2.4/mainsail-beta-0.2.4.zip && unzip mainsail.zip && rm mainsail.zip
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
@@ -291,4 +291,4 @@ and you can config your hostname:
sudo raspi-config
```
in 2 Network Options > N1 Hostname you can edit your hostname of your raspberry pi.
After a reboot you can use `http://<hostname>.local/` to open the webinterface.
After a reboot you can use `http://<hostname>.local/` to open the webinterface.
+1 -1
View File
@@ -36,7 +36,7 @@ If you see a content like this
```
cd ~/mainsail
rm -R ./*
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.2.3/mainsail-beta-0.2.3.zip && unzip mainsail.zip && rm mainsail.zip
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.2.4/mainsail-beta-0.2.4.zip && unzip mainsail.zip && rm mainsail.zip
```
### Move gui.json from gcodes to klipper_config
This is only necessary if you update from 0.2.2 to 0.2.3 or higher.
+3 -3
View File
@@ -130,7 +130,7 @@ export default {
Vue.prototype.$socket.sendObj('server.files.get_directory', { path: 'config_examples' }, 'getDirectory');
//load plug data
if (data.plugins.includes("gpio_power") !== false) Vue.prototype.$socket.sendObj('machine.gpio_power.devices', {}, 'getPowerDevices');
if (data.plugins.includes("power") !== false) Vue.prototype.$socket.sendObj('machine.gpio_power.devices', {}, 'getPowerDevices');
dispatch('initPrinter');
} else {
@@ -245,7 +245,7 @@ export default {
}
} else {
commit('setPowerDevices', data.devices);
Vue.prototype.$socket.sendObj('machine.gpio_power.status', {}, 'getPowerDevicesStatus');
}
},
@@ -382,4 +382,4 @@ export default {
setSettings({ commit }, data) {
commit('setSettings', data);
},
}
}