Git Product home page Git Product logo

hasswp's Introduction

Home Assistant Windows Portable (HassWP)

Portable version of Home Assistant for Windows.

ATTENTION: Direct works on Windows is not maintained by the core developers of Home Assistant. So some components/integrations may not work at all. No need to ask me or the core authors to fix it. If something you need doesn't work - use virtualization.

Preinstalled:

HOWTO

  1. Download HassWP_XXXX.XX.X.zip
  2. Unpack
  3. Run

Useful files:

  • hass.cmd - run Home Assistant and default Browser
  • notepad.cmd - run NotePad with configuration.yaml
  • web.url - open default Browser with http://localhost:8123/
  • config/reset.cmd - reset Home Assistant but don't touch config files

Supervisor and Addons

HassWP don't have and can't have supervisor and any Hass.io addons. Supervisor can be installed only over Docker. Nativelly Docker works only on Linux core. In any other OS it will use virtualization.

If you really needs Hass.io addons on Windows - use virtualization.

Cameras

Latest HassWP supports cameras stream. For snapshot and recording use relative path from your config folder - media\snapshot.jpeg or www\video.mp4.

Generic camera and WebRTC integrations do not need ffmpeg in your system. But it you want use FFmpeg integration - download ffmpeg manually and put ffmpeg.exe (80-120 MB) to your config folder.

Move config

You can transfer your configuration to another Hass installation at any time. In another HassWP, venv, docker, hass.io, etc. Windows or Linux, it doesn't matter. Just move the contents of the config folder to a new location. Remember about config/.storage folder, it is also important.

Before any movement - stop the old and new Home Assistant!

Voice Assistant

Latest HassWP supports local Speech-to-Text (STT) engine - Faster Whisper. And Stream Assist - custom component that allows you to turn almost any camera and almost any speaker into a local voice assistant.

Video Demo

Home Assistant Windows Portable (HassWP)

Do it yourself

  1. Download and unpack WinpythonXX-3.XX.XX.0dot.exe
  2. Run from command line:
scripts\env.bat
python -m pip install homeassistant==XXXX.XX
pip install https://github.com/AlexxIT/HassWP/archive/master.zip
mkdir config
python -m hass_win -c config -v

hasswp's People

Contributors

alexxit avatar d3viants4ge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hasswp's Issues

[Request] Share steps to create portable version like this or build a version with supervised mode

Hello Alexx,
Thanks for creating this portable version. Using this as primary driver on Windows. Why? Coz this windows machine is used for a few other things, and dont want to create 10 different docker containers, to keep it all light weight, and love this idea of portable Hass.
Wanted to install DuckDNS add-on and noticed that this is not supervised mode. Is it possible for you to share steps you used to create this so I can try to create supervised version. Or if it is easier, and only if you want, do you want to create and share supervised version?
Thanks again!

Nest integration issue

Hello,

I'm pretty new, so please forgive my ignorance, but I've having an issue when trying to add the Nest integration. I keep getting the error "homeassistant.requirements.RequirementsNotFound: Requirements for nest not found: ['google-nest-sdm==0.3.8'].".

I have attempted to manually install that requirement, but the flow still doesn't find it. Can you please advise?

Broadlink and Samsung Smart TV inegrations

Hi, Alex

I'm having troubles with the las release HassWP_2021.6.5 when I try to install Broadlink and Samsung Smart TV integrations.

This is the errror that I get
2021-07-29 11:12:25 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of broadlink==0.17.0
2021-07-29 11:12:38 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration broadlink: No module named 'aiodiscover'
2021-07-29 11:20:04 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration samsungtv: No module named 'aiodiscover'

I´ve tried in two different PC and I get the same error. This only happen with the last release HassWP_2021.6.5.
It works OK with the previous HassWP_2021.1.1.

Thank you!!

Sharing Windows support work

I've been using HomeAssistant on Windows with Python 3.9 for half a year now and since a few monts i needed to patch every update to make it run. These were basically minor changes to file.py, serial socket for zha and disabling DHCP using your custom_components override. As you probably know, the home assistant devs decided to remove all the native Windows workarounds for the 2022 release. It's more work now to support Windows.

I am asking myself if there is any interest to share the work on the Windows support. I was thinking of forking the core repository, reverting all the dropped Windows submits and adding the additional changes. Basically one place where everyone caring about native Windows support can submit changes.

Is there any interest in this?

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 41: invalid continuation byte

I tried to run, but it shows the error below, I tried to run as admim, but it was unsuccessful

2020-12-27 18:30:44 INFO (MainThread) [homeassistant.bootstrap] Config directory: C:\Automação\HassWP_0.116.4\config
2020-12-27 18:30:44 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Automação\HassWP_0.116.4\python-3.8.5\Scripts\hass.exe_main
.py", line 7, in
sys.exit(main())
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\site-packages\homeassistant_main
.py", line 312, in main
exit_code = runner.run(runtime_conf)
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\site-packages\homeassistant\runner.py", line 133, in run
return asyncio.run(setup_and_run_hass(runtime_config))
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\site-packages\homeassistant\runner.py", line 122, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\site-packages\homeassistant\bootstrap.py", line 120, in async_setup_hass
await async_mount_local_lib_path(runtime_config.config_dir)
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\site-packages\homeassistant\bootstrap.py", line 365, in async_mount_local_lib_path
lib_dir = await async_get_user_site(deps_dir)
File "C:\Automação\HassWP_0.116.4\python-3.8.5\lib\site-packages\homeassistant\util\package.py", line 121, in async_get_user_site
lib_dir = stdout.decode().strip()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 41: invalid continuation byte
Pressione qualquer tecla para continuar. . .

Growatt Server Integration

Hi, Alex

I'm having troubles with the las release HassWP_2021.6.5 when I try to install Growatt Server integrations.

This is the errror that I get

Error while setting up growatt_server platform for sensor
Traceback (most recent call last):
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\site-packages\homeassistant\helpers\entity_platform.py", line 250, in _async_setup_platform
    await asyncio.shield(task)
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\site-packages\homeassistant\components\growatt_server\sensor.py", line 603, in async_setup_entry
    devices, plant_id = await hass.async_add_executor_job(get_device_list, api, config)
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\site-packages\homeassistant\components\growatt_server\sensor.py", line 590, in get_device_list
    devices = api.device_list(plant_id)
  File "C:\Users\Main Server PC\Desktop\HA\config\deps\Python38\site-packages\growattServer\__init__.py", line 440, in device_list
    return self.plant_info(plant_id)['deviceList']
  File "C:\Users\Main Server PC\Desktop\HA\config\deps\Python38\site-packages\growattServer\__init__.py", line 453, in plant_info
    data = json.loads(response.content.decode('utf-8'))
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\Main Server PC\Desktop\HA\python-3.8.9\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 7 column 1 (char 19)

Thank you!!

geopy

Is it possible to include python geopy module or can you give me directions on how to install it using pip with this version?
Thanks in advance!
br Marenl01

Updatting version 2021.6.5

Alex great work man, i realy need that and love it. I have 1 main reason to keep home asistant on windows - becouse i canot make youtube.com/tv to to be play on linux stable . With windows work perfect if any one want write me.

But i cant update the home asiistant. I recive error "Virsual studio higher than 14 is need it" I isntall the visual studio installer and install one of the package for console C# programs , but still have that eroor and ist 2.7GB pack, other packages are bigger.
Can some one tell me with one exacly i need , becouse i dont have space .
Just home assistant grow up so fast and if cant update it be big issue.

Automation clock discrepancy

Hi
I got caught up in the Insteon debacle. I am new to HA with a handful of lighting devices. I installed HASSWP. [Alex - I have no coding skills and was intimidated by a "normal" HA installation. I couldn't believe how easy HassWP was to install and use. Kudos}. I am having only one issue. Despite setting the time zone in General Configuration to "America/New York", when I trigger a light to turn on at a certain time, it turn on 5 hours earlier than scheduled (GMT time).
{{ now() }}
{{ utcnow() }}
returns:
2022-04-30 15:14:00.000628+00:00
2022-04-30 15:14:00.000628+00:00
does anyone have a recommendation to fix this?
thank you.
Gary

Unable to update TIMEZONE

{{ now() }}
{{ now().astimezone() }}
{{ utcnow().astimezone() }}
{{ now().now() }}
{{ now().today() }}
{{ now().utcnow() }}
{{ utcnow() }}
{{ now().tzinfo }}
{{ now().astimezone().tzinfo }}
{{ utcnow().tzinfo }}

gives out

2022-02-22 11:35:38.536160+00:00
2022-02-22 19:35:38.536160+08:00
2022-02-22 19:35:38.536659+08:00
2022-02-22 19:35:38.536659
2022-02-22 19:35:38.536660
2022-02-22 11:35:38.536659
2022-02-22 11:35:38.536659+00:00
UTC
Malay Peninsula Standard Time
UTC

but config is set to

homeassistant:
latitude: 1.3089757786697331
longitude: 103.79403233127188
elevation: 24
unit_system: metric
time_zone: Asia/Tokyo

which is GMT +9 not 8

Query

How can we update from the previous version of HASS portable to the new Hass portable version? Which files we need to copy to the new Hass folder?

WinError 10014

Any idea why I keep getting these errors? Once it happens the system stops responding.

2022-04-21 11:20:03 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [WinError 10014] The system detected an invalid pointer address in attempting to use a pointer argument in a call, transport: <_ProactorDatagramTransport fd=1176 read=<_OverlappedFuture pending overlapped=<pending, 0x1e6228aa8b0> cb=[_ProactorDatagramTransport._loop_reading()]>>
2022-04-21 11:22:03 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [WinError 10014] The system detected an invalid pointer address in attempting to use a pointer argument in a call, transport: <_ProactorDatagramTransport fd=1176 read=<_OverlappedFuture pending overlapped=<pending, 0x1e6228aa8b0> cb=[_ProactorDatagramTransport._loop_reading()]>>
2022-04-21 11:24:03 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [WinError 10014] The system detected an invalid pointer address in attempting to use a pointer argument in a call, transport: <_ProactorDatagramTransport fd=1176 read=<_OverlappedFuture pending overlapped=<pending, 0x1e6228aa8b0> cb=[_ProactorDatagramTransport._loop_reading()]>>
2022-04-21 11:26:03 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [WinError 10014] The system detected an invalid pointer address in attempting to use a pointer argument in a call, transport: <_ProactorDatagramTransport fd=1176 read=<_OverlappedFuture pending overlapped=<pending, 0x1e6228aa8b0> cb=[_ProactorDatagramTransport._loop_reading()]>>

Google Nest integration not working

I love HassWP! But I can't get the Nest integration to activate. Even when set up correctly in configuration.yaml, the logs give me this error:

pkg_resources.DistributionNotFound: The 'google-cloud-pubsub' distribution was not found and is required by the application

Hidden window

Hi
Is it possible to run your hass cmd script hidden?
Thank you!

USB Support?

I'm trying to get an integration that requires access to a device plugged into USB. Is this supported by HassWP? Looking at this page here: https://techtechandmoretech.com/guides/home-assistant-wyze/#comments, are instructions to install WyzeSense. Since I already have HACS installed I simply skipped to installing the WyzeSense repo. However, the instructions specify to add a Binary sensor to the config yaml:

binary_sensor:
– platform: wyzesense
device: “/dev/hidraw0” 

The device location appears to be linux based. I'm trying to determine what to use for a HassWP install instead.

Local Network can't find Home Assistant

I cannot access home assistant from anything other than the Computer that is hosting HomeAssistant.
When using another Computer or Web-Device (smart phone etc.) I cannot access http://localhost:8123/ or any combination thereof.

What am I doing wrong??

Sincerely;
Alex.

Create Account screen doesn't launch

I just tried launching HassWP_2022.2.3 on my Windows 10 PC but it hangs after launching my default browser. The Home Assistant Login / Create Account screen that I see in YouTube videos showing how to install the program does not appear. My default browser launches, but only thing I see is a blue screen with a logo and Home Assistant displayed. See the attached PDF. I also attached a copy of the CMD script execution window showing what ran after I launched HassWP.cmd.

Can you help me understand what's wrong and how to get HassWP to work? FYI, I'm not an experienced coder so go easy! :-)
HA Screenshot.pdf
HassWP CMD Execution.txt

Upgrading to new version.

I am trying to upgrade to the new version 2022.5.3
I copied the config folder from my older version, to the new 5.3 folder.
During the execution I get several errors in red text and then it just keeps repeating the commands in the attached picture.
It never completes or loads. Any idea what is happening?
Thanks.
2022-05-16 21 16 52
r

Unable to login to Home Assistant Windows Portable

After installing hass thru Windows cmd script I am taken to the sign up page and get thru the process to Home Assistant. It discovers numerous devices and my network and seems to work as it should. I have installed an Insteon integration connected to one of their hubs successfully and setup numerous Insteon devices. My issue occurs after my connection becomes lost or I've logged out and closed my browser. When I signed in the 1st time and logged out and went to re login I bookmarked the page in my browser. The next day when I open my Browse and click n the bookmark for Home Assistant it hangs at initializing and eventually says it can't connect and it timed out but if I reload it says connection refused. If I reinstall it through the Windows cmd script I can go through the same entire process, duplicate the username and login without it suggesting that the user name and so on ever existed or an account was created. I must be doing something wrong and would like to know why this is recurring?

How to uninstall

Hi. I downloaded and installed this after watching a great video, but have since realised that without Supervisor I cannot do what need to - at least not with my level of expertise, so I think I need to try and install it a different way.
Apologies if this is a really basic / stupid question, but how can I install everything your build (which does look pretty impressive, btw) has installed on my computer so I can go and build it in a VM environment?
Many thanks.

backports.zoneinfo

Error occurred loading configuration flow for integration xiaomi_miio: No module named 'backports.zoneinfo'
How fix it?

HACS does not show up

Hi,
do you know why the HACS does not show up? or maybe how to install it now? i tried the update file but it does not work.
In addition I tried the reset file and ran the HA again and it still wont work.
Thank you in advance.

Updating

If you try and update the latest version it will not run as it cannot detect the country/code correctly in python unless anyone has got around this,
Tried it on my system and also on my father's and just the same. You have to delete the installation and reinstall it.

Thanks

DuckDNS for remote access

I understand that this portable version does not include add-ons, but is there some way to get DuckDNS working? This is necessary for remote access when away from home. I have searched the Internet for alternative ways to integrate DuckDNS, but there seems to be no information.

Automation clock discrepancy #46

Hi HASSWP
I wrote last week of a clock issue I was having HASSWP. Alex was nice enough to send me a proposed solution which involved executing "Home Assistant Windows Portable (HassWP) CTM FORKED". I followed the instructions:

  1. Download CTMHomeAssistant2022-5-6.rar
  2. Unpack in a folder
  3. Run hass.cmd
  4. Press any key to start.
    A command prompt sequence was executed but after it was complete, the problem persists (time zone in General Configuration is set to "America/New York" but system time is UTC). I have no programming experience so I wonder if I did something incorrectly. I am including a screen shot of the command prompt screen which indicates that some errors were encountered. Any advice?
    thank you in advance
    Gary
    image

distribution not found (google-cloud-pubsub)

Hi. I’ve been following the guides trying to get my nest doorbell working but when I get to the part where I click on the Nest integration to install nothing happens. Any idea what the issue below might be? Missing package maybe and if so can I manually update it? Thanks!

File “G:\Downloadz\HassWP_2021.1.1\python-3.8.7\lib\site-packages\pkg_resources_init_.py”, line 465, in get_distribution dist = get_provider(dist) File “G:\Downloadz\HassWP_2021.1.1\python-3.8.7\lib\site-packages\pkg_resources_init_.py”, line 341, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File “G:\Downloadz\HassWP_2021.1.1\python-3.8.7\lib\site-packages\pkg_resources_init_.py”, line 884, in require needed = self.resolve(parse_requirements(requirements)) File “G:\Downloadz\HassWP_2021.1.1\python-3.8.7\lib\site-packages\pkg_resources_init_.py”, line 770, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The ‘google-cloud-pubsub’ distribution was not found and is required by the application

Emulated Hue config error

Hi, new to HA and have it up and running. I tried to use the emulated hue integration using the following in my configuration.yaml file:

emulated_hue:
host_ip: 192.168.1.35
listen_port: 80
advertise_ip: 10.0.0.10
advertise_port: 8080
off_maps_to_on_domains:
- script
- scene
expose_by_default: false
exposed_domains:
- light
entities:
light.den_art_2b_8c_f7:
name: "Den art"

But I get an error on restart that I cannot interpret:

Logger: homeassistant.setup
Source: C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\setup.py:245
First occurred: 5:30:33 PM (1 occurrences)
Last logged: 5:30:33 PM

Error during setup of component emulated_hue
Traceback (most recent call last):
File "C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\setup.py", line 235, in async_setup_component
result = await task
File "C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\components\emulated_hue_init
.py", line 137, in async_setup
listen = create_upnp_datagram_endpoint(
File "C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\components\emulated_hue\upnp.py", line 73, in create_upnp_datagram_endpoint
ssdp_socket.setsockopt(
OSError: [WinError 10022] An invalid argument was supplied

Any help appreciated.
Regards,
Allen

Can't use sub directories in media

We cannot use sub directories in media.
The sub directory is displayed correctly in Home Assistant
image

But when casting the media, there is an error, probably due to backslashes in the path instead of slashes like on linux system.

2021-02-20 12:55:46 ERROR (Thread-7) [homeassistant.components.cast.media_player] Failed to cast media http://192.168.0.2:8123/media/local/4 Non Blondes\4 Non Blondes - What's Up.mp3?authSig=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxYjRjMDE1NTIwZTY0Zjc3OTZiYWUyMGQyMWJkYzY0OCIsInBhdGgiOiIvbWVkaWEvbG9jYWwvNCBOb24gQmxvbmRlc1xcNCBOb24gQmxvbmRlcyAtIFdoYXQncyBVcC5tcDMiLCJpYXQiOjE2MTM4MjIxNDEsImV4cCI6MTYxMzgyMjQ0MX0.oV2-1OHhrb9LxIOOfRQh96Sm3r4ATmuK7wTzjxfmzTU from internal_url (http://192.168.0.2:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

Media in the root directory work

Ikea and bluetooth.

Love this and its running nice, i have some problem cant add the Ikea Trådfri integration? and it seems that it cant find my bluetooth.

Python -> 3.9.0

I'm getting a warning (after updating to 2021.11.05): "Support for the running Python version 3.8.9 is deprecated and will be removed in Home Assistant 2022.1. Please upgrade Python to 3.9.0 or higher."

Is there an easy way to have the scripts to just use a local python installation (vs. the one packaged in the .zip file)?

Cant save image from [homeassistant.components.camera] Can't write test.jpg, no access to path!

I get this error when trying to save an image with camera.snapshot running in this version. i have an automation that takes a pic from my blink camera on motion but get this error

tried in and out of the media folder, tried creating the image in there first so it exist, and still cant seem to save a file.

[homeassistant.components.camera] Can't write test.jpg, no access to path!
[homeassistant.components.camera] Can't write media/test.jpg, no access to path!

service: camera.snapshot
target:
entity_id: camera.blink_front_door
data:
filename: test.jpg

service: camera.snapshot
target:
entity_id: camera.blink_front_door
data:
filename: /media/test.jpg

I added the whitelist here
default_config:

Whitelist Folders

whitelist_external_dirs:
- /media/

Takes extremely long to start up / does nothing

First, when I downloaded the newest version it ran perfectly. That was on my laptop running W11. Started quickly and the browser started without any problem.
Then I installed it on my W11 server. It's a regular desktop with an i7 6700 and 16GB of RAM. Both systems are on the newest updates.
It did not load at all. It was stuck most often loading seemingly plug-ins. Now, some just took like 10 minutes, and that is fine. But I left it for quite literally 10 hours to load. In the end, nothing happened.
image

Yes, I have re-downloaded multiple times and also used 7-Zip, just in case.
At this point, I am confused and plum out of luck. Should I wait for an update or is there another solution?

What is the best way to upgrade to the latest version?

I am basically starting from scratch every time there is a new version.

Today I would like to try the lastest version and copy the complete config folder from my previous version HassWP to the new version. Am I supposed to copy 100% of the folder including /deps & .storage?

Please Let me know if there is any easier way to update

Apart from that this HassWP works great on a surface pro windows 10 mounted to the wall for the past year.

Thank you

Dependency issue for git and pycountry

If anyone is facing issues with missing "Git" or "PYCountry" Python library, please do the following.
My "HassWP" is located at E:\Experiments\HassWP

For GIT:

  1. Download the git binaries and place at E:\Experiments\HassWP\git.
  2. Include (from line 3) the following inside the E:\Experiments\HassWP\bin\env.bat.
  3. Add the set WINGITDIR=%WINPYDIRBASE%\git\bin above the line which contains set WINPYDIR=%WINPYDIRBASE%\python-3.8.7.
  4. Append %WINGITDIR%; to set "PATH=%WINPYDIR%\Lib\site-packages\PyQt5;%WINPYDIR%\Lib\site-packages\PySide2;%WINPYDIR%\;.... so that it looks like et "PATH=%WINPYDIR%\Lib\site-packages\PyQt5;%WINPYDIR%\Lib\site-packages\PySide2;%WINPYDIR%\;%WINPYDIR%\DLLs;%WINPYDIR%\Scripts;%WINPYDIR%\..\t;%WINPYDIR%\..\t\mingw32\bin;%WINPYDIR%\..\t\R\bin\i386;%WINPYDIR%\..\t\Julia\bin;%WINPYDIR%\..\n;%WINGITDIR%;%PATH%;".
  5. Stop the HASS from the dashboard.
  6. Start the "E:\Experiments\HassWP\hass.cmd".

For PyCountry:

  1. Run the E:\Experiments\HassWP\bin\env.bat from a separate command-line shell.
  2. Run the pip command pip3 install pycountry.
  3. Stop HassWP.
  4. Run the hass.cmd again.

The actual issue is discussed at hass-smartthinq.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.