Comments (7)
from hap-python.
According to this post orjson will not work with 32-bit python on a 32-bit linux OS: https://medium.com/geekculture/python-orjson-cb046b47ab8c
If that is true, it means the current version of HAP-python can't be deployed on Raspberry Pi 2 or Pi Zero W hardware, of which there are a lot still in use. It should work using 64-bit Raspberry Pi OS on Pi 3 or 4 or Pi Zero 2 (I'll test that when my Pi Zero 2 arrives).
from hap-python.
Would it be possible to substitute UltraJSON (json - see https://pypi.org/project/ujson/ ) for 32-bit deployment of HAP-python? ujson supports 32-bit builds, and although not as fast as orjson, it is still many, many times faster than the standard json in python, and faster than most other fast json libraries (with the exception of orjson).
from hap-python.
There did used to be a problem with 32bit but Home assistant has 1000+ of deployments with it on 32bit Linux so I think that link is outdated.
from hap-python.
orjson has been adding additional wheel builds lately, so they might accept a PR to add your arch to their build CI
from hap-python.
32 bit support was added via ijl/orjson#220
from hap-python.
There is an issue that might help you build wheels on github instead ijl/orjson#278
from hap-python.
Related Issues (20)
- use of `socket.inet_aton` prevents ipv6 initialization
- installation hanging HOT 3
- notify multiple HomeKit Apps when switch state has changed HOT 6
- Unresponsive Pairing - WireShark dump shows no connection HOT 1
- How to run multiple accessories in 1 process? HOT 2
- Upgrading version 4.4 to 4.5 or 4.6 on rasperian bullseye (armv7l) HOT 2
- cannot find accessory.state HOT 3
- Device not discoverable in home assistant after unpairing twice
- is where a chance to give a bridge a Name, Model, serial number etc? HOT 1
- Homekit shared home support? HOT 1
- Orjson, requires a 64-bit Python with>3.8.5+and<3.9 HOT 13
- Any chance to support Category.AUDIO_RECEIVER ?
- Dehumidifier simple with WaterLevel HOT 4
- Add Support For Camera 2-way Audio
- Best Approach to Integrate with Existing Pi Django Server HOT 1
- CATEGORY_LIGHTBULB configure_char('Brightness'... ValueError("Characteristic not found" HOT 1
- Support for customer locks? HOT 1
- Since Raspberry Pi OS Upgrade Accessory Resets to Unpaired when Restarted HOT 1
- Stopped working after upgrading to iOS 17 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hap-python.