Commit Graph
239 Commits
Author SHA1 Message Date
rich fbc1b79b7c Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
hopefully fixing this for the last time

Closes #2

See merge request Bots/r0b3BOT!26
2019-11-27 15:05:11 -05:00
rich d8a8fa8961 hopefully fixing this for the last time 2019-11-27 15:04:54 -05:00
rich 1abd67353e Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
fixing syntax

See merge request Bots/r0b3BOT!25
2019-11-27 14:56:38 -05:00
rich d566eb0a96 fixing syntax 2019-11-27 14:56:22 -05:00
rich 2ce03d8983 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
fixed order of user status messages

See merge request Bots/r0b3BOT!24
2019-11-27 14:54:39 -05:00
rich c8b81d593f fixed order of user status messages 2019-11-27 14:54:20 -05:00
rich eecf3f9622 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
is it a syntax problem?

See merge request Bots/r0b3BOT!23
2019-11-27 14:50:13 -05:00
rich 6b9cf63ae0 is it a syntax problem? 2019-11-27 14:49:52 -05:00
rich b6827bd99d Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
removing f""

See merge request Bots/r0b3BOT!22
2019-11-27 14:45:31 -05:00
rich 004c98f1c1 removing f"" 2019-11-27 14:45:13 -05:00
rich fdcef375d4 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
gah, forgot it's entity_id!!

See merge request Bots/r0b3BOT!21
2019-11-27 14:43:41 -05:00
rich 72c97f7564 gah, forgot it's entity_id!! 2019-11-27 14:43:23 -05:00
rich 6459f671b1 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
fixing variable calling

See merge request Bots/r0b3BOT!20
2019-11-27 14:36:44 -05:00
rich c082888d2a fixing variable calling 2019-11-27 14:36:22 -05:00
rich d1527a8424 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
added code to turn light back off

See merge request Bots/r0b3BOT!19
2019-11-27 14:34:31 -05:00
rich b470a3a2ce added code to turn light back off 2019-11-27 14:34:07 -05:00
rich b35301cff2 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
removing http:// from varibale so that i can set it bot_config instead

See merge request Bots/r0b3BOT!18
2019-11-27 14:28:05 -05:00
rich 735ac8d7e2 removing http:// from varibale so that i can set it bot_config instead 2019-11-27 14:27:42 -05:00
rich fef6af3e3e Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
forgot to update the api call url

See merge request Bots/r0b3BOT!17
2019-11-27 14:24:44 -05:00
rich 62f71f7caf forgot to update the api call url 2019-11-27 14:24:23 -05:00
rich d52a4a1435 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
trying to turn on light using services turn_on

See merge request Bots/r0b3BOT!16
2019-11-27 14:20:14 -05:00
rich 985159e517 trying to turn on light using services turn_on 2019-11-27 14:19:48 -05:00
rich 1eedc900f2 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
Converting JSON to python dict and changed how i'm referencing the information

Closes #2

See merge request Bots/r0b3BOT!15
2019-11-27 14:11:39 -05:00
rich 8e7c53b25d Converting JSON to python dict and changed how i'm referencing the information 2019-11-27 14:11:21 -05:00
rich 4ac9c68308 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
changed to .text...

See merge request Bots/r0b3BOT!14
2019-11-27 14:03:15 -05:00
rich 490d43a385 changed to .text... 2019-11-27 14:01:54 -05:00
rich 1c7dcb7ebf Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
added code to cahnge light status.  dont think it will work , will prob get error 403

See merge request Bots/r0b3BOT!13
2019-11-22 16:12:19 -05:00
rich 583a164a33 added code to cahnge light status. dont think it will work , will prob get error 403 2019-11-22 16:09:14 -05:00
rich 3a3846df85 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
seems im not speficying the headers correctly

Closes #2

See merge request Bots/r0b3BOT!12
2019-11-22 15:55:17 -05:00
rich 392c091806 seems im not speficying the headers correctly 2019-11-22 15:54:52 -05:00
rich 2e19fdabdc Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
forgot to remove ':'

See merge request Bots/r0b3BOT!11
2019-11-22 15:51:58 -05:00
rich 165e92d274 forgot to remove ':' 2019-11-22 15:51:36 -05:00
rich d0c214a4e3 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
changing api url to public hostname instead of internal ip

See merge request Bots/r0b3BOT!10
2019-11-22 15:51:02 -05:00
rich 34ca1ad6c5 changing api url to public hostname instead of internal ip 2019-11-22 15:49:53 -05:00
rich 18a153ed82 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
reverting back to origin requests usage

See merge request Bots/r0b3BOT!9
2019-11-22 15:39:59 -05:00
rich 8bc6141366 reverting back to origin requests usage 2019-11-22 15:39:27 -05:00
rich 4aa1db5757 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
thing i was calling requests. incorrectly

See merge request Bots/r0b3BOT!8
2019-11-22 15:32:23 -05:00
rich 895c1b51de thing i was calling requests. incorrectly 2019-11-22 15:31:43 -05:00
rich 3fdca08751 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
adding more infromation to console to troubelshoot

See merge request Bots/r0b3BOT!7
2019-11-22 15:25:23 -05:00
rich eae183e669 adding more infromation to console to troubelshoot 2019-11-22 15:24:24 -05:00
rich a5f808ccb0 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
replacing homeassistant.remote API with REST API

See merge request Bots/r0b3BOT!6
2019-11-22 15:16:02 -05:00
rich d15dfc9a70 WIP: replacing homeassistant.remote API with REST API 2019-11-22 15:13:51 -05:00
rich f5dc97a584 Merge branch 'master' of http://gitlab.rickelobe.com/Bots/r0b3BOT 2019-11-22 09:51:32 -05:00
rich 285d0a59fb Eliminating unncessary debug print statement 2019-11-22 09:51:19 -05:00
rich f22591aee0 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
Eliminated defunct code and added comments

Closes #3

See merge request Bots/r0b3BOT!5
2019-11-22 09:41:26 -05:00
rich 43811751b5 Eliminated defunct code and added comments 2019-11-22 09:39:12 -05:00
rich e9c476e576 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
added try/except to check for state attribute

See merge request Bots/r0b3BOT!4
2019-11-22 09:35:12 -05:00
rich d8edd1b067 added try/except to check for state attribute 2019-11-22 09:34:24 -05:00
rich 6719847896 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
adding state attribute if api call fails

Closes #3

See merge request Bots/r0b3BOT!3
2019-11-22 09:28:27 -05:00
rich af97204c27 adding state attribute if api call fails 2019-11-22 09:27:36 -05:00