Hacker News new | past | comments | ask | show | jobs | submit | JoshuaRedmond's comments login

Have you considered Zigbee2mqtt[0]? You'd be running an extra program, but the docs are really good, it's pretty lightweight, and MQTT is incredibly easy to talk to from python or basically anything else. It's compatible with HomeAssistant (which is how I use it), but can be used standalone without having to run HA at all. It also means you don't have to handle the weird idiosyncrasies between different manufacturers.

[0] - https://www.zigbee2mqtt.io/


This is the way to go. Z2M makes interoperability trivial. Just publish to MQTT.


I didn't play with it because I wasn't sure if every sensor out there is natively MQTT capable? ANd if it is, it still has to document the topics it responds to, right? For example, I have a Sonoff temp sensor, how do I know what topic it publishes to and how do I query it? The documentation said nothing about MQTT.


I’m happy to tell you that you are fundamentally misunderstanding. This is good because reality is even simpler.

Z2M takes ordinary Zigbee devices, and generates MQTT messages from them. The devices are oblivious to this, and have no idea what MQTT is. They just act like Zigbee devices.

Z2M just publishes messages on a dedicated topic per device, with all the relevant information in that message. Generally for battery powered devices like temperature sensors, you won’t “query” their state by asking the device - because they sleep with the radio off. Instead you just wait for an update (and store it as needed).

Docs for your device : https://www.zigbee2mqtt.io/devices/SNZB-02.html


Zigbee2mqtt has a huge number of supported devices (here's their official list [0]), which can also be expanded if the existing mappings don't work.

It took me a minute to find, but the full MQTT structure is detailed here [1], and then individual devices detail what they expose on their page (e.g. this [2] is a random Sonoff temperature sensor). This means that the topic "zigbee2mqtt/sonoff-temp-example" will just have a simple JSON message with '{"humidity":46.93,"temperature":21.73, ...}'.

Hope this helps!

[0] https://www.zigbee2mqtt.io/supported-devices/

[1] https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messa...

[2] https://www.zigbee2mqtt.io/devices/SNZB-02.html


Spore was especially interesting if you used the in game friend list. I had a great time experiencing worlds full of various creatures - a lot of which were from my artistically talented friend playing around with the creation tools. His experience was unfortunately ruined because the game decided that each evolution of my creature was distinct and deserved to be shown to him separately - it was like his whole galaxy was overrun with my (admittedly unimaginative) "wobba-pods" with just different variations of hats and facial hair...


It seems to me that their view of bias is limited to a per-article approach. This could make it succeptible to broader narrative bias across stories - if, for example, the news sources are selectively only reporting on muggings when perpetrated by one race/nationality/immigration status/gender over another then it'll still give a false impression of attacks by those people, as it'll be completely blind to the lesser-reported cases.


It might need _some_ filtering of text - whatever your views of the n word, I don't think anyone could call it a mood...


It definitely can be - I had a demo of Ultrahaptics' (now ultraleap) ultrasonic tactile system[0] 3 years back and you could definitely "touch" objects that weren't there. They only had the development kit out at the time - I now want to check out their new module to see how it's progressed!

[0] - https://www.ultraleap.com/product/stratos-inspire/


Pleasantly surprised they are still around since the whole MagicLeap fiasco


Which fiasco are you thinking of? Or could you be confusing Magic Leap[0] (the Augmented Reality headset) and Leap Motion[1] (the 3D motion controller) (admittedly I swap the names around all the time!)

[0] - https://www.magicleap.com/en-us/

[1] - https://www.ultraleap.com/product/leap-motion-controller/


On your first point about PEDs, I think you've missed that there's an element of safety they offer that prevents non-accidents (often referred to as a "person under the train" or other euphemisms). These definitely happen on the DLR [0] , along with many other lines. Among other obvious repurcussions of these incidents, these often result in a line closure of at least a full commuting slot.

[0] - multiple incidents on this FOI request from 2012, and I'm sure there will be more recent data available https://www.whatdotheyknow.com/request/persons_under_trains


They actually did[0], although admittedly it's quite a long way down the thread.

[0] - https://twitter.com/Foone/status/1251483589914423296?s=19


I would guess that the money laundering potential is why it isn't around now - most stores don't let you buy a gift card with another gift card for the same reason (I've implemented this restriction in an e-comm site before). I might be wrong, but that's a potentially big legal hurdle.


It won't help you quite yet, but Google and Amazon resolved their issues around this in April[0] and their press release says you'll be able to watch Prime Video on your Chromecast later in the year.

[0] - https://press.aboutamazon.com/news-releases/news-release-det...


This[0] is from the organisation that got the files unsealed, and includes the "whale" reference at the beginning of the chat mentioned. Not sure it proves that 5-year-old were referred to in this way, but it does sound very casual in it's usage.

[0] - https://www.revealnews.org/blog/a-judge-unsealed-a-trove-of-...


Relevant part:

> Gillian: Would you refund this whale ticket? User is disputing ALL charges…

> Michael: What’s the users total lifetime spend?

> Gillian: It’s $6,545 – but card was just added on Sept. 2. They are disputing all of it I believe. That user looks underage as well. Well, maybe not under 13.

> Michael: Is the user writing in a parent, or is this user a 13ish year old

> Gillian: It’s a 13ish yr old. says its 15. looks a bit younger. she* not its. Lol.

> Michael: … I wouldn’t refund

> Gillian: Oh that’s fine. cool. agreed. just double checking

Clickbait headline makes it sound like they were trying to recruit whales.


Oh great. What a moral. 'oh that's fine. cool. agreed. just double checking'. Thanks god he's not a judge. These guys side Facebook versus a 13 year old kid, nice morality.


Is "these guys" supposed to be me? I'm not 'siding' Facebook. I think they should have forgiven the debt.

That you think a clearly misleading headline is a matter of 'sides' is worrying.


These guys => 2 guys in your transcribed conversation. I'm talking about the conversation.

What's worrying is a person deciding to not refund a 13-15 year old kid that I'm pretty sure doesn't know how many money has spent on games.


Fair enough. They’re Facebook employees - them "siding with" their own company doesn't quite seem like the right way to describe this - but I'm glad you're not talking about me and thanks for the clarification.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: