DataProtocol

u/DataProtocol


r/homeassistant•

I'm trying to send text from Home Assistant to a MySensors node, or have my node request the needed text. I can send a text(V_TEXT) string from my node to Home Assistant and also request that same text string back without any issues. But, if I use the States page under Developer tools to manually change the V_TEXT state in Home Assistant,

{
"battery_level": 0,
"child_id": 0,
"device": "/dev/ttyUSB0",
"node_id": 77,
"V_TEXT": "test string",
"friendly_name": "Text test"
}

to

{
"battery_level": 0,
"child_id": 0,
"device": "/dev/ttyUSB0",
"node_id": 77,
"V_TEXT": "NEW STRING",
"friendly_name": "Text test"
}

.. my node receive

10

r/siacoin•

I've searched everywhere and there doesn't seem to be a good resource on all features of the daemon. Specifically I want to know if it's possible for me to help others on the network sync the blockchain without any renter/hosting configured.

So far I've installed siad on a Docker container, fully sync'ed and set up a domain at duckdns.org. But I'm at a loss as to what ports to forward or settings to change. Again, I don't want to rent or host; only provide bandwidth for helping others sync the blockchain.

41

r/PowerShell•

Hello everyone, I’m a DIY and figure-it-out myself sort of guy, but I’ve been digging around Google for the past four hours and have come up empty. The only answers I find ether do not fully address my question or no longer work. The issue is the order in which properties are returned from Invoke-Sqlcmd, using Get-Member automatically sorts them alphabetically, so I lose the original column order returned by Invoke-Sqlcmd:

$output = Invoke-Sqlcmd -ServerInstance $Server -Database $Database -Query "SELECT 'TEST' ColA, 4 ColX, 'TEST2' ColC UNION SELECT 'AA', 2, 'BB'"
$output | Get-Member -MemberType Property

What is returned is in the incorrect order: ColA ColC ColX

How do I iterate

54

You've reached the end of this feed.