profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mdonoughe/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

mdonoughe/jgit-describe 7

An ant task that emulates git-describe using jgit

mdonoughe/jff2dot 3

A program to convert JFlap files to Graphviz files

mdonoughe/home-assistant-custom 1

Dockerfiles for modified Home Assistant

mdonoughe/homebrew 1

The missing package manager for OS X.

mdonoughe/homework2 1

a neural network visualization

mdonoughe/html5-boilerplate 1

starting html/css template. so much goodness baked in by default

mdonoughe/beats 0

A simple Rust library for Swatch Internet Time (.beats)

mdonoughe/bollard 0

Docker daemon API in Rust

pull request commentstepchowfun/docuum

Add `--keep` argument to prevent deleting images

Thank you for this contribution! I will take a look as soon as I can.

My pleasure. This is my first open source contribution to the rust community so please don't hesitate to let me know if you'd rather I do something differently. And thank you for this project; it has been quite helpful.

keelerm84

comment created time in a day

pull request commentstepchowfun/docuum

Add support for Windows Containers

I'm so sorry for the long delay on this. I unfortunately don't have an update yet.

lippertmarkus

comment created time in a day

pull request commentstepchowfun/docuum

Add `--keep` argument to prevent deleting images

Thank you for this contribution! I will take a look as soon as I can.

keelerm84

comment created time in a day

Pull request review commentstepchowfun/docuum

Add `--keep` argument to prevent deleting images

 fn settings() -> io::Result<Settings> {                     DEFAULT_THRESHOLD.code_str(),                 )),         )+        .arg(+            Arg::with_name(KEEP_OPTION)+                .value_name("KEEP")+                .short("k")+                .long(KEEP_OPTION)+                .multiple(true)

Not sure if you'll like this structure, but I went with a multiple argument (with one value each) so the usage is:

--keep regex1 --keep regex2

I thought this might be preferable to having a single very convoluted regex for more complex setups.

keelerm84

comment created time in 3 days

PR opened stepchowfun/docuum

Add `--keep` argument to prevent deleting images

--keep is a new argument that allows users to specify one or more regular expressions which, when matched against an image name, will prevent that image from being deleted.

This is particularly useful for images that may require long re-build times and so should not be cleaned up as part of normal system maintenance.

A clear description of the change.

Status: Ready

Fixes: #129

+94 -22

0 comment

5 changed files

pr created time in 3 days

issue commentgurumitts/pylutron-caseta

Any way to connect new devices to the bridge?

Okay I was able to create a little script to add a new light switch to the bridge:

└─► python add_device.py
connecting to bridge...
entering association mode...
association mode response: OK
subscribe deviceheard response: OK
==== Please hold the bottom button for 10 seconds...
device heard: Response(Header=ResponseHeader(StatusCode=ResponseStatus(200, 'OK'), Url='/device/status/deviceheard', MessageBodyType='OneDeviceStatus'), CommuniqueType='UpdateResponse', Body={'DeviceStatus': {'DeviceHeard': {'DiscoveryMechanism': 'UserInteraction', 'ModelNumber': 'PD-6WCL-XX', 'DeviceType': 'WallDimmer', 'SerialNumber': 64158463}}})              
Saw device: 64158463
==== What do you want to name it? Qot.
adding device...
add device response: OK, zone: /zone/9
updating devices...
done updating
exiting association mode...
association mode response: OK
finished.

Source code is here: https://gist.github.com/tannercollin/4d408bcad87c90f925b2fbc682ed925d

tannercollin

comment created time in 8 days

issue commentgurumitts/pylutron-caseta

Any way to connect new devices to the bridge?

Alright, I was able to patch the .apk and got these outgoing messages:

{"Body":{"SystemStatus":{"InAssociationMode":true}},"CommuniqueType":"UpdateRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$26$","Url":"/system/status"}}
{"CommuniqueType":"ReadRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$27$","Url":"/project/devicerule/1"}}
{"CommuniqueType":"SubscribeRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$","Url":"/device/status/deviceheard"}}
{"Body":{"Area":{"href":"/area/3","Category":{"Type":"Kitchen"},"Name":"Kitchen","Parent":{"href":"/area/1"}}},"CommuniqueType":"UpdateRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$28$","Url":"/area/3"}}
{"Body":{"Device":{"Name":"Main Lights","SerialNumber":57843518,"AssociatedArea":{"href":"/area/3"}}},"CommuniqueType":"CreateRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$29$","Url":"/device"}}
{"Body":{"Zone":{"Category":{"Type":"CeilingMain"}}},"CommuniqueType":"UpdateRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$30$","Url":"/zone/3"}}
{"CommuniqueType":"SubscribeRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$","Url":"/service/autoprog/event/status"}}
{"Body":{"SystemStatus":{"InAssociationMode":false}},"CommuniqueType":"UpdateRequest","Header":{"ClientTag":"78f01ec8-b07d-4f09-8385-724907a721ed$31$","Url":"/system/status"}}
tannercollin

comment created time in 8 days

issue commentgurumitts/pylutron-caseta

Any way to connect new devices to the bridge?

Do you happen to have a patched Lutron APK that I could use to get the traffic?

Or an educated guess as to what the "add device" command would be?

tannercollin

comment created time in 8 days

issue commentgurumitts/pylutron-caseta

Any way to connect new devices to the bridge?

Okay, I was able to get the device heard notification with this code:

res = await bridge._request(
    'UpdateRequest',
    '/system/status',
    {
        'SystemStatus': {
            'InAssociationMode': True
        }
    }
)

print('update response:', res)

def print_heard(x):
    print('device heard:', x)

res = await bridge._subscribe(
    '/device/status/deviceheard',
    print_heard
)

print('subscribe response:', res)

while True:
    await asyncio.sleep(1)

Here it is:

Response(Header=ResponseHeader(StatusCode=ResponseStatus(200, 'OK'), Url='/device/status/deviceheard', MessageBodyType='OneDeviceStatus'), CommuniqueType='UpdateResponse', Body={'DeviceStatus': {'DeviceHeard': {'DiscoveryMechanism': 'UserInteraction', 'ModelNumber': 'PD-6WCL-XX', 'DeviceType': 'WallDimmer', 'SerialNumber': 57843518, 'PairedDevices': {'Count': 1}}}})
tannercollin

comment created time in 8 days

issue openedgurumitts/pylutron-caseta

Add support to enable/disable Smart Away

While looking into how to control Smart Away's enablement via automations in Home Assistant, it looks like it is possible to control this, although its not supported yet. While it's presented as a scene in the app, it is more of a toggle switch. I'm dropping my findings here for now.

Enable request

    "Body": {
        "AwayStatus": {
            "href": "/system/away/1/status",
            "EnabledState": "Enabled"
        }
    },
    "CommuniqueType": "UpdateRequest",
    "Header": {
        "Url": "/system/away/1/status"
    }
}```

Disable request
```{
    "Body": {
        "AwayStatus": {
            "href": "/system/away/1/status",
            "EnabledState": "Disabled"
        }
    },
    "CommuniqueType": "UpdateRequest",
    "Header": {
        "Url": "/system/away/1/status"
    }
}```

The Bridge responds similar to the below
```{
	'AwayStatus': {
		'href': '/system/away/1/status',
		'EnabledState': 'Disabled',
		'ActiveState': 'Inactive'
	}
}```

Subscribe
```{
    "CommuniqueType": "SubscribeRequest",
    "Header": {
        "Url": "/system/away/1/status"
    }
}```

The notification matches the Bridge response to the request.

created time in 10 days

startedmdonoughe/neko-mac

started time in 14 days

issue commentgurumitts/pylutron-caseta

Any way to connect new devices to the bridge?

What would be involved in adding it? Would I need to sniff traffic between the Lutron app and the smart bridge? What method do you guys use for that?

tannercollin

comment created time in 14 days

startedmdonoughe/neko-mac

started time in 15 days

issue commentgurumitts/pylutron-caseta

Lutron Appliance Module support

Thank you so much for your help. I'm very appreciative for all your Github guidance as well

YourMom11

comment created time in 18 days

issue closedgurumitts/pylutron-caseta

Lutron Appliance Module support

Hi there. I hope I'm not breaking rules posting a feature request here, but I haven't seen any traction on the following feature request at the HA community forum and thought this might be my best avenue.

https://community.home-assistant.io/t/lutron-appliance-module-support-for-the-lutron-caseta-integration/297499

:)

closed time in 18 days

YourMom11

issue openedgurumitts/pylutron-caseta

Any way to connect new devices to the bridge?

Awesome program, I'm using it to avoid using Lutron's app.

Keeping with that, is there any way to connect new Caseta devices to the smart bridge using this? Thanks.

created time in 18 days

issue commentgurumitts/pylutron-caseta

Lutron Appliance Module support

I had to create lib/python3.8/site-packages since /deps was empty.

I dropped 'pylutron-caseta-0.11.0' into there and restarted, but no luck. What am I missing?

YourMom11

comment created time in 18 days

issue commentgurumitts/pylutron-caseta

Lutron Appliance Module support

I think I did it. Thank you :)

YourMom11

comment created time in 18 days

PR opened gurumitts/pylutron-caseta

Update __init__.py

This update adds support for the:

  • 15-AMP Plug-in Appliance Module (RR-15APS-1-XX)
+1 -0

0 comment

1 changed file

pr created time in 18 days

issue commentgurumitts/pylutron-caseta

Lutron Appliance Module support

Great. I don't have Write access to the referenced file. It would also be my first Commit. Is this something you can do for me please?

YourMom11

comment created time in 18 days

issue commentgurumitts/pylutron-caseta

Lutron Appliance Module support

Is this what you're looking for?

[pylutron_caseta.smartbridge] Requesting zone information from {'device_id': '4', 'current_state': -1, 'fan_speed': None, 'zone': '2', 'name': 'Counter_Coffee Machine', 'type': 'PlugInSwitch', 'model': 'RR-15APS-1-XX', 'serial': 67958053}

YourMom11

comment created time in 19 days

issue commentgurumitts/pylutron-caseta

Lutron Appliance Module support

I do have one. I am not entirely sure of the precise name. Perhaps something like 'PlugInAppliance'. Photo attached.

I'm happy to test for you.

Also, here is the spec sheet if that's any help.

IMG_5714

YourMom11

comment created time in 19 days

issue openedgurumitts/pylutron-caseta

Lutron Appliance Module support

Hi there. I hope I'm not breaking rules posting a feature request here, but I haven't seen any traction on the following feature request at the HA community forum and thought this might be my best avenue.

https://community.home-assistant.io/t/lutron-appliance-module-support-for-the-lutron-caseta-integration/297499

:)

created time in 20 days

startedmdonoughe/neko-mac

started time in 25 days

fork leodutra/streamdeck-rs

Unofficial Stream Deck SDK for Rust

fork in a month

startedmdonoughe/streamdeck-rs

started time in a month

startedmdonoughe/sbz-switch

started time in a month

pull request commentgurumitts/pylutron-caseta

Add support for PD-15OUT outdoor switches.

Is this update going to be released soon?

tnitz

comment created time in a month

push eventstepchowfun/docuum

Stephan Boyer

commit sha b1f29f87130f87faf5a6b8783cd704550b1cb3af

Upgrade Rust to v1.52.1

view details

Stephan Boyer

commit sha eeb5e88e03b1ebdd06665fdc3c1cfb0d9990fd1e

Merge pull request #150 from stepchowfun/rust-v1.52.1 Upgrade Rust to v1.52.1

view details

push time in a month

delete branch stepchowfun/docuum

delete branch : rust-v1.52.1

delete time in a month