Skip to content

Commit

Permalink
Bump version 1.0.0-beta2 to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rroemhild committed Jul 13, 2019
1 parent f010c6a commit 1368ae2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Changelog
=========

1.0.0
-----

* Release version 1.0.0
* Update docs for ESP32


1.0.0-beta2
-----------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export PATH := $(PWD)/esp-open-sdk/xtensa-lx106-elf/bin:$(PWD)/micropython/tools:$(PWD)/micropython/ports/unix:$(HOME)/go/bin:$(PATH)

VERSION := 1.0.0-beta2
VERSION := 1.0.0
MICROPYVERSION := 1.11
PORT ?= /dev/ttyUSB0

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Binaries can be verified with `minisign <https://jedisct1.github.io/minisign/>`_
RWTwPeRvouNzP+mcL1t7QDTnKz96i3Kuf95fjpE28szMq8OTycMmiTzX
Micropython changes
MicroPython changes
-------------------

To safe some space we disabled **webrepl** and **btree** support. The AccessPoint SSID is `Microhomie-MAC` with the secret `microhomiE`. You can see all the details in the `micropython.patch` file.
To save some space we disabled **webrepl** and **btree** support. The AccessPoint SSID is `Microhomie-MAC` with the secret `microhomiE`. You can see all the details in the `micropython.patch` file.


Install
Expand Down
2 changes: 1 addition & 1 deletion homie/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = b"1.0.0-beta2"
__version__ = b"1.0.0"
11 changes: 9 additions & 2 deletions homie/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@

from asyn import Event
from homie import __version__, utils
from homie.constants import (DEVICE_STATE, MAIN_DELAY, QOS, RESTORE_DELAY,
SLASH, UNDERSCORE)
from homie.constants import (
DEVICE_STATE,
MAIN_DELAY,
QOS,
RESTORE_DELAY,
SLASH,
UNDERSCORE,
)
from mqtt_as import MQTTClient
from uasyncio import get_event_loop, sleep_ms
from utime import time
Expand Down Expand Up @@ -213,6 +219,7 @@ async def run(self):
except OSError:
print("ERROR: can not connect to MQTT")
from homie.utils import reset

await sleep_ms(5000)
reset()

Expand Down
1 change: 1 addition & 0 deletions homie/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def get_local_mac():

def reset():
import machine

wdt = machine.WDT()
wdt.feed()
machine.reset()

0 comments on commit 1368ae2

Please sign in to comment.